aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.netboot.sh
blob: 459cb1489091760ab3e12edd38e5c2c96a3dfb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}