Working PreOS without SSH

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-06-15 21:57:48 +02:00
commit 9ad2840600
3 changed files with 40 additions and 46 deletions

View file

@ -18,15 +18,19 @@ for link in sh mount; do
done
cd "${initramfs_dir}"
find . | cpio -H newc -o | gzip
rm -rf "${initramfs_dir}"
exit 0
# Add Arch Linux initramfs with kernel modules included
zcat /boot/initramfs-linux-fallback.img | cpio -i
# TODO:
# - Kernel modules
# - ssh
# - various mkfs
# - libs
# Create new initramfs
find . | cpio -H newc -o | gzip
# echo ${initramfs_dir}
rm -rf "${initramfs_dir}"
exit 0