mirror of
https://opendev.org/openstack/ironic.git
synced 2026-01-16 23:01:47 +00:00
Merge "CI: Unpack cirros image partition jobs"
This commit is contained in:
commit
a7b2908e2c
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ sudo mount $efidev $efi_mp
|
|||
sudo cp -aR $root_mp/* $dest/
|
||||
sudo cp -aR $efi_mp/EFI $dest/boot/efi/
|
||||
|
||||
# Extract all of the stuffs from the disk image and write it out into
|
||||
# the dest folder. This is *normally* done on startup for Cirros, but
|
||||
# doesn't quite jive with the expected partition image model.
|
||||
sudo zcat $root_mp/boot/initrd.img* | sudo cpio -i --make-directories -D $dest
|
||||
|
||||
# These locations are required by IPA even when it does not really run
|
||||
# grub-install.
|
||||
sudo mkdir -p $dest/{dev,proc,run,sys}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue