Lenny general freeze ahead
On 03/06/2008, Jordi Pujol <jordipujolp at gmail.com> wrote:
> El Tuesday 03 June 2008 18:13:18 Daniel Baumann va escriure:
>
> > Extra prod to Jordy :) As you pointed out several times, you're using
> > several patches for live-initramfs. Please do send them in.
> >
>
> Hello all,
>
> Thanks Daniel,
> Now already there are large differences between the estandard and my own
> version of live-initramfs. Also it requires a personalized initramfs-tools
> package.
> These differences dificult the task of creating patches.
> I will try to send simplest patches so that can be applied with easy to the
> current version of live-initramfs,
>
> Attached is the first one,
> The function setup_loop() is simplified for speed and more clear code;
> observing than losetup from Busybox v1.9 has the option -f to print the name
> of the next loop device available,
This sounds nice. However, what happens if there is a non-busybox
losetup installed?
Since live-initramfs now recommends loop-aes-utils (or whateve the
exact name), and they install their own losetup I had to fix up
setup_loop to work for cases when the image is readonly.
Thanks
Michal
Reply to: