Make installer system bootable from initramfs.
[people/pmueller/ipfire-2.x.git] / lfs / initrd
index 824b40c..896d78e 100644 (file)
@@ -93,6 +93,8 @@ $(TARGET) :
        cd /install/initrd && strip --strip-all {,usr/}{,s}bin/* || true
        cd /install/initrd && strip --strip-debug {,usr/}lib/* || true
 
+       cd /install/initrd && ln -svf sbin/init init
+
        cd /install/initrd && find . | cpio -o -H newc | lzma -9 > /install/images/initrd
        cd /install/initrd && find ./ -ls > $(DIR_INFO)/_build.initrd.log