Skip to content
Snippets Groups Projects
Commit 20bae8ec authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimg.netboot.sh: tweak initramfs, add aarch64, fix copy

parent ca4b594f
No related branches found
No related tags found
No related merge requests found
create_image_netboot() { create_image_netboot() {
rm -rf "${OUTDIR}"/netboot-$RELEASE rm -rf "${OUTDIR}"/netboot-$RELEASE
cp -a "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE
tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/
} }
...@@ -9,11 +9,11 @@ profile_netboot() { ...@@ -9,11 +9,11 @@ profile_netboot() {
desc="Kernel, initramfs and modloop for desc="Kernel, initramfs and modloop for
netboot. netboot.
" "
arch="x86_64 s390x" arch="aarch64 x86_64 s390x"
kernel_cmdline="nomodeset" kernel_cmdline="nomodeset"
kernel_flavors="vanilla" kernel_flavors="vanilla"
apks="" apks=""
initfs_features="ata base bootchart squashfs ext2 ext3 ext4 mmc network scsi usb virtio" initfs_features="base network squashfs usb virtio"
output_format="netboot" output_format="netboot"
image_ext="tar.gz" image_ext="tar.gz"
case "$ARCH" in case "$ARCH" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment