> I would advise you to write your own [script]
Advice taken. So far, I have rebuilt everything around s6* statically (against
musl), with s6-linux-utils-1.0.2 having been the only PITA because of s6-devd,
which doesn't compile and have temporarily substituted with a stub (I don't
need s6-devd... yet, at the least) till I manage to figure out how to do it.
(The static s6-mount is 52K in size, while the dynamic, stock -- slackware
current -- mount alone is 92K, by the way; isn't it humorous?)
Anyway, this is my present, WORKING initramfs'init:
#!/bin/mksh
s6-mount -t proc proc /proc
s6-mount -t sysfs sysfs /sys
s6-mount -t devtmpfs devtmpfs /dev
s6-mount -t tmpfs tmpfs /run
s6-mount -t ext4 -o ro /dev/sda2 /newroot
exec /sbin/switch_root /newroot /etc/s6-init/init
# -- ** end of file
Next; I am going to *play* writing/ironing out s6-switch_root (I LOVE writing
scripts).
Notice that mksh static built against musl is 240K, and that I only need
s6-mount (which I now have) and s6-switch_root additionally.
Thank you and cheers,
/Roy
Received on Wed Oct 16 2013 - 07:39:12 UTC
This archive was generated by hypermail 2.3.0
: Sun May 09 2021 - 19:38:49 UTC