Re: chrooting / LiveCD

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



2011/2/19 Ángel Velásquez <angvp@xxxxxxxxxxxxx>:
> 2011/2/19 Jorge Almeida <jjalmeida@xxxxxxxxx>:
>> I've been reading several pieces of documentation about making a
>> custom LiveCD, in particular the documentation for Archiso. Makefiles
>> and bash are not my strong suit, so I may have misunderstood
>> something. Among other things, we need to create a directory, say
>> "prov", and populate it with an arch system. I tried this:
>>
>> mkdir -p prov/var/lib/pacman
>> pacman -r prov -Sy
>> pacman -r prov  -S base
>>
>> This seems to work, although it had a complain about the directory
>> "sys". My question is: to populate a directory with a base system plus
>> some assorted stuff, can we do it with pacman -r? Or is it necessary
>> to chroot into prov? (And if so, don't we need to use pacman -r to
>> have a functional chroot dir to begin with?)
>> I would understand the need for chroot if we were to compile software
>> (I read LFS stuff...), to ensure correct library linking. But we're
>> talking about binary packages...
>>
>> I'm just trying to get the big (and small) picture...
>>
>> TIA
>>
>> Jorge Almeida
>>
>
> Well if I were you, I will use a clean chroot first, then l use that
> dir, plus I can add or test packages in the chroot itself
>
OK, but how will you get a clean chroot to begin with? If not with
pacman -r, how? Extracting some tarball? And is that different from
using pacman -r?

Thanks, anyway

Jorge


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux