From c63d504e458fe9cdd60ac484531693fa83b08b50 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 8 Jun 2018 14:06:15 +0000 Subject: scripts/mkimage: add netboot profile --- scripts/mkimg.netboot.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 scripts/mkimg.netboot.sh (limited to 'scripts') diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh new file mode 100755 index 0000000000..459cb14890 --- /dev/null +++ b/scripts/mkimg.netboot.sh @@ -0,0 +1,23 @@ +create_image_netboot() { + rm -rf "${OUTDIR}"/netboot-$RELEASE + cp -a "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE + tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ +} + +profile_netboot() { + title="Netboot" + desc="Kernel, initramfs and modloop for + netboot. + " + arch="x86_64 s390x" + kernel_cmdline="nomodeset" + kernel_flavors="vanilla" + apks="" + initfs_features="ata base bootchart squashfs ext2 ext3 ext4 mmc network scsi usb virtio" + output_format="netboot" + image_ext="tar.gz" + case "$ARCH" in + x86_64) kernel_flavors="$kernel_flavors virt";; + esac +} + -- cgit v1.2.3