qubes-prepare-vm-kernel: ensure proper permissions on initramfs

By default dracut set 600 mode. While it isn't a problem for starting a
VM (which is done as root), it is a problem for creating standalone VM,
which has it's own copy of kernel directory.
pull/3/head mm_2f1c8ea4
Marek Marczykowski-Górecki 9 years ago
parent a23030e49f
commit 2f1c8ea459
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -56,6 +56,7 @@ function build_initramfs() {
--conf /dev/null --confdir /var/empty \
-d "xenblk xen-blkfront cdrom ext4 jbd2 crc16 dm_snapshot" \
$output_file $kver
chmod 644 "$output_file"
}
if [ -z "$1" ]; then

Loading…
Cancel
Save