- Handle rw option in ext4.ko
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=229
This commit is contained in:
parent
79b4b7a5ae
commit
cf8b279489
@ -1,9 +1,10 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 22 09:47:30 CEST 2013 - ohering@suse.de
|
Thu Aug 22 10:10:00 CEST 2013 - ohering@suse.de
|
||||||
|
|
||||||
- Add network related modules to initrd (bnc#835949)
|
- Add network related modules to initrd (bnc#835949)
|
||||||
- Remove supermin.d
|
- Remove supermin.d
|
||||||
- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh
|
- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh
|
||||||
|
- Handle rw option in ext4.ko
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 19 23:23:31 CEST 2013 - ohering@suse.de
|
Mon Aug 19 23:23:31 CEST 2013 - ohering@suse.de
|
||||||
|
@ -44,6 +44,13 @@ do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Need to create the modprobe.conf file to force read-write mode
|
||||||
|
if modinfo -k $kernel_version ext4 | grep -E '^parm:[[:blank:]]+rw:'
|
||||||
|
then
|
||||||
|
mkdir -vp "${tmp_mnt}/etc/modprobe.d"
|
||||||
|
echo "options ext4 rw=1" >> "${tmp_mnt}/etc/modprobe.d/ext4-kmp-rw.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
# Bug 674684 - mount-rootfs-and-do-chroot.sh
|
# Bug 674684 - mount-rootfs-and-do-chroot.sh
|
||||||
cat > $tmp_mnt/bin/mount-rootfs-and-do-chroot.sh <<'__EOF__'
|
cat > $tmp_mnt/bin/mount-rootfs-and-do-chroot.sh <<'__EOF__'
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user