You are not logged in.

#1 2021-02-17 08:23:14

moscow-hunt
Member
Registered: 2020-03-25
Posts: 23

makechrootpkg - how to create multiple copies of working chroot?

I see how to specify which working chroot copy to use from this:

/usr/bin/makechrootpkg -h 
 -l <copy>  The directory to use as the working copy of the chroot
            Useful for maintaining multiple copies

Once I have my base chroot ($CHROOT/root) created and up to date, then I wish to set up multiple working chroot copies in advance of doing the actual build step.

What is the command (or the steps) please? Thanks in advance! Have a great day.

Offline

#2 2021-02-17 12:35:46

a821
Member
Registered: 2012-10-31
Posts: 381

Re: makechrootpkg - how to create multiple copies of working chroot?

/usr/bin/makechrootpkg uses these (On a btrfs filesystem it makes subvolumes, check the lines above)

355                 mkdir -p "$copydir"
356                 rsync -a --delete -q -W -x "$chrootdir/root/" "$copydir"

Offline

Board footer

Powered by FluxBB