Skip to content
Snippets Groups Projects
Unverified Commit cc174ad1 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

x86: copy separate kernel and rootfs images to "other" directory

For regular use, a full disk image is always recommended, as it is
required to support sysupgrades.

During development or for automated tests, separate images for the
kernel and rootfs may be useful to pass additional kernel cmdline or use
nfsroot/virtiofs. The rootfs is only available as a (squashfs)
filesystem image, not as a TAR archive (the TAR archive in OpenWrt's bin
directory does not contain DEVICE_PACKAGES, so it is missing most of
Gluon's packages).
parent cd7da847
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,9 @@ packages {
'kmod-pcengines-apuv2',
}
device('x86-64', 'generic')
device('x86-64', 'generic', {
extra_images = {
{'-kernel', '-kernel', '.bin'},
{'-squashfs-rootfs', '-rootfs', '.img.gz'},
},
})
......@@ -7,6 +7,10 @@ packages {
}
device('x86-generic', 'generic', {
extra_images = {
{'-kernel', '-kernel', '.bin'},
{'-squashfs-rootfs', '-rootfs', '.img.gz'},
},
manifest_aliases = {
'x86-kvm',
'x86-xen_domu',
......
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