install dracut-config-generic on arm images to get a generic initramfs
remove it in %post so updates get host only initramfs's
This commit is contained in:
parent
32e066e039
commit
6aa8533f0e
@ -32,6 +32,9 @@ initial-setup
|
|||||||
#lets resize / on first boot
|
#lets resize / on first boot
|
||||||
dracut-modules-growroot
|
dracut-modules-growroot
|
||||||
|
|
||||||
|
# remove this in %post
|
||||||
|
dracut-config-generic
|
||||||
|
|
||||||
# install uboot images
|
# install uboot images
|
||||||
uboot-beagle
|
uboot-beagle
|
||||||
uboot-beaglebone
|
uboot-beaglebone
|
||||||
@ -53,5 +56,8 @@ echo "Disabling tmpfs for /tmp."
|
|||||||
systemctl mask tmp.mount
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
/usr/sbin/a-b-c
|
/usr/sbin/a-b-c
|
||||||
|
|
||||||
|
yum -y remove dracut-config-generic
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user