Verified Kaydet (Commit) d01cbed7 authored tarafından Erdem Ersoy's avatar Erdem Ersoy

Some changes:

- Reconfigure kernel and busybox
- Use config files for configuring kernel and busybox
üst d970a3a0
......@@ -75,7 +75,10 @@ cd ..
cd packages_extracted/linux-${KERNEL_VERSION_NOT_GNU}
make distclean i386_defconfig
ARCH=${ARCH} PREFIX=${PREFIX} make mrproper defconfig bzImage
cp -T ../../configs/linux-config .config
ARCH=${ARCH} PREFIX=${PREFIX} make savedefconfig bzImage
cp arch/x86/boot/bzImage ../../isoimage/kernel.gz
......@@ -86,7 +89,9 @@ cd ../..
cd packages_extracted/busybox-${BUSYBOX_VERSION}
make distclean defconfig
sed -i "s|.*CONFIG_STATIC.*|CONFIG_STATIC=y|" .config
cp -T ../../configs/busybox-config .config
ARCH=${ARCH} CROSS_COMPILE=${PREFIX} make busybox install
cp -r _install/* ../../rootfs
......@@ -147,7 +152,7 @@ cp bios/core/isolinux.bin ../../isoimage
cp bios/com32/elflink/ldlinux/ldlinux.c32 ../../isoimage
echo 'default kernel.gz initrd=rootfs.gz' > ../../isoimage/isolinux.cfg
xorriso -as mkisofs -o ../../ersoy_kardesler_linux.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ../../isoimage
xorriso -as mkisofs -o ../../ersoy_kardesler_linux.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 20 -boot-info-table ../../isoimage
cd ../..
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment