use installinitrd to install the upgrade.img initramfs so that we get correct permissions
This commit is contained in:
parent
69c251aa20
commit
138cb06cd5
@ -33,7 +33,7 @@ mkdir ${KERNELDIR}
|
|||||||
installinitrd images-${kernel.flavor}-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd-${kernel.flavor}.img
|
installinitrd images-${kernel.flavor}-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd-${kernel.flavor}.img
|
||||||
|
|
||||||
## install upgrade image
|
## install upgrade image
|
||||||
install ${kernel.upgrade.img} ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
installinitrd ${kernel.upgrade.img} ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
||||||
treeinfo images-${kernel.flavor}-${basearch} upgrade ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
treeinfo images-${kernel.flavor}-${basearch} upgrade ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
||||||
|
|
||||||
## create U-Boot wrapped images
|
## create U-Boot wrapped images
|
||||||
@ -60,7 +60,7 @@ mkdir ${KERNELDIR}
|
|||||||
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||||
|
|
||||||
## install upgrade image
|
## install upgrade image
|
||||||
install ${kernel.upgrade.img} ${KERNELDIR}/upgrade.img
|
installinitrd ${kernel.upgrade.img} ${KERNELDIR}/upgrade.img
|
||||||
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
||||||
|
|
||||||
## create U-Boot wrapped images
|
## create U-Boot wrapped images
|
||||||
|
@ -67,7 +67,7 @@ install ${configdir}/magic ${BOOTDIR}
|
|||||||
installinitrd images-${kernel.arch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
installinitrd images-${kernel.arch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||||
|
|
||||||
## upgrade image
|
## upgrade image
|
||||||
install ${kernel.upgrade.path} ${KERNELDIR}/upgrade.img
|
installinitrd ${kernel.upgrade.path} ${KERNELDIR}/upgrade.img
|
||||||
treeinfo images-${kernel.arch} upgrade ${KERNELDIR}/upgrade.img
|
treeinfo images-${kernel.arch} upgrade ${KERNELDIR}/upgrade.img
|
||||||
|
|
||||||
## install arch-specific bootloader config
|
## install arch-specific bootloader config
|
||||||
|
@ -25,7 +25,7 @@ installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/kernel.img
|
|||||||
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||||
|
|
||||||
## upgrader image
|
## upgrader image
|
||||||
install ${kernel.upgrade.img} ${KERNELDIR}/upgrade.img
|
installinitrd ${kernel.upgrade.img} ${KERNELDIR}/upgrade.img
|
||||||
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
||||||
|
|
||||||
## s390 needs some extra boot config
|
## s390 needs some extra boot config
|
||||||
|
@ -34,13 +34,13 @@ mkdir ${KERNELDIR}
|
|||||||
## i386 PAE
|
## i386 PAE
|
||||||
installkernel images-xen ${kernel.path} ${KERNELDIR}/vmlinuz-${kernel.flavor}
|
installkernel images-xen ${kernel.path} ${KERNELDIR}/vmlinuz-${kernel.flavor}
|
||||||
installinitrd images-xen ${kernel.initrd.path} ${KERNELDIR}/initrd-${kernel.flavor}.img
|
installinitrd images-xen ${kernel.initrd.path} ${KERNELDIR}/initrd-${kernel.flavor}.img
|
||||||
install ${kernel.upgrade.path} ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
installinitrd ${kernel.upgrade.path} ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
||||||
treeinfo images-xen upgrade ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
treeinfo images-xen upgrade ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
||||||
%else:
|
%else:
|
||||||
## normal i386, x86_64
|
## normal i386, x86_64
|
||||||
installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/vmlinuz
|
installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/vmlinuz
|
||||||
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
||||||
install ${kernel.upgrade.path} ${KERNELDIR}/upgrade.img
|
installinitrd ${kernel.upgrade.path} ${KERNELDIR}/upgrade.img
|
||||||
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
treeinfo images-${basearch} upgrade ${KERNELDIR}/upgrade.img
|
||||||
%endif
|
%endif
|
||||||
%endfor
|
%endfor
|
||||||
|
Loading…
Reference in New Issue
Block a user