Hi maks,

On Tue, Jun 03, 2014 at 11:36:25AM +0200, maximilian attems wrote:
> in any case, did you test it with klibc chroot too?
> meaning disabling BUSYBOX for the initramfs.

I quickly tested /usr/lib/klibc/bin/chroot, and that worked fine.
So if the udeb versions aren't fundametally different, that should work.

(root system not having systemd installed)
# ls -la /lib/systemd/systemd
ls: cannot access /lib/systemd/systemd: No such file or directory

(cowbuilder chroot having systemd-sysv installed)
# ls -la /var/cache/pbuilder/build/cow.28830/sbin/init
lrwxrwxrwx 1 root root 20 Apr 27 12:43
/var/cache/pbuilder/build/cow.28830/sbin/init -> /lib/systemd/systemd

# chroot /var/cache/pbuilder/build/cow.28830 test -x /sbin/init && echo yes
yes

# /usr/lib/klibc/bin/chroot /var/cache/pbuilder/build/cow.28830 test -x 
/sbin/init && echo yes
yes


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to