[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: merged /usr vs. symlink farms



On Sun, 22 Aug 2021 19:02:18 -0400, Theodore Ts'o wrote:

> On Sun, Aug 22, 2021 at 12:26:46PM +0200, David Kalnischkies wrote:
> > So, when did you last log into your build chroot to upgrade dpkg and
> > apt first?
> Personally, I never upgrade build chroots between major versions.  I
> just use a tool like sbuild-createchroot to create them from scratch.

That's one option, the other (and faster) is, quoting from
~/.bash_history from a week ago:

#v+
cp -ar amd64/bullseye-base.cow amd64/bookworm-base.cow
cp -ar i386/bullseye-base.cow i386/bookworm-base.cow
sed -i -e 's/bullseye/bookworm/g' amd64/bookworm-base.cow/etc/apt/sources.list i386/bookworm-base.cow/etc/apt/sources.list
./update_all_cow.sh # wrapper around `cowbuilder --update --basepath …' for all cowbuilder chroots
#v-


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature


Reply to: