diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-30 12:00:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-30 12:00:16 +0000 |
commit | 0c1e784df7e69bf08a5569476e0a856f3f248fc5 (patch) | |
tree | 5b106f481731d61cc06af51238de6d704eb885eb /sub/layout | |
parent | 91195c146cb1d9c4ab69464ea818169284a4a10f (diff) | |
download | lh-bootstrap-0c1e784df7e69bf08a5569476e0a856f3f248fc5.tar.xz |
Rip out initramfs, remove wireless-db hack for 4.15.12 kernel
Diffstat (limited to 'sub/layout')
-rwxr-xr-x | sub/layout/copylayout | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sub/layout/copylayout b/sub/layout/copylayout index e9cea1c..82b303e 100755 --- a/sub/layout/copylayout +++ b/sub/layout/copylayout @@ -21,8 +21,6 @@ if $USE_VIRTIO_NETWORK ; then netmodule=virtio_net fi -s6-hiercopy layout/initramfs $output/initramfs -find "$output/initramfs" -type f -name .empty -size 0c -exec s6-rmrf {} \; s6-hiercopy layout/rootfs $output/rootfs find "$output/rootfs" -type f -name .empty -size 0c -exec s6-rmrf {} \; s6-hiercopy layout/rwfs $output/rwfs @@ -54,11 +52,11 @@ else fi # echo ${eth0_service} > $output/rootfs/etc/s6-rc/source-base/activate-eth0/contents -for i in $output/initramfs/init $output/rootfs/etc/s6-rc/source-base/mount-*/* ; do +for i in $output/rootfs/etc/s6-rc/source-base/mount-*/* ; do sed -i -e "s/%%DISK%%/$disk/g" -e "s/%%PARTITION%%/$partition/g" $i done -chown -R root.root $output/initramfs $output/rootfs $output/rwfs $output/userfs +chown -R root.root $output/rootfs $output/rwfs $output/userfs s6-mkfifo -m 0600 -- $output/rootfs/etc/s6-linux-init/run-image/service/s6-svscan-log/fifo || s6-true |