diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-09-14 16:25:46 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-09-14 16:25:46 -0700 |
commit | 5183a8425f22cdd43f7d3cdef21a9523f0aceb8c (patch) | |
tree | f5773a53e5e75b35516fac4e2f7808475b3b8880 /gen_linux_iso | |
parent | 852d31cf05d970dbf9d5eada89e6658116d04f5b (diff) | |
download | mu-5183a8425f22cdd43f7d3cdef21a9523f0aceb8c.tar.gz |
5655
Diffstat (limited to 'gen_linux_iso')
-rwxr-xr-x | gen_linux_iso | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gen_linux_iso b/gen_linux_iso index 96a2628f..c2c4499f 100755 --- a/gen_linux_iso +++ b/gen_linux_iso @@ -27,17 +27,17 @@ rm -rf tmp/isoimage mkdir -p tmp/isoimage/boot echo init | cpio -R root:root -H newc -o | xz -9 --check=none > tmp/isoimage/boot/rootfs.xz -if [ ! -d kernel ] +if [ ! -d kernel.linux ] then echo "=== cloning linux kernel" - git clone https://github.com/akkartik/kernel + git clone https://github.com/akkartik/kernel kernel.linux fi echo "=== building linux kernel" -( cd kernel +( cd kernel.linux make bzImage -j $(grep ^processor /proc/cpuinfo | wc -l) ) -cp kernel/arch/x86/boot/bzImage tmp/isoimage/boot/kernel.xz +cp *.linux/arch/x86/boot/bzImage tmp/isoimage/boot/kernel.xz echo "=== downloading syslinux" test -f tmp/syslinux-6.03.tar.xz || wget https://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz -P tmp |