Skip to content
Snippets Groups Projects
Commit 6fb4409e authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

x-qemux86-directdisk.wks.in: Use dynamic rootfstype and remove rw


The default configuration for the rootfs is now read-only. The ro
argument is injected through APPEND in read-only-rootfs hooks so all we
need to do is to drop `rw`.

We also let rootfstype be defined dynamically so we can support multiple
configuration in the future.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 79736d49
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
# 0 |
# 4096KiB
bootloader --source bootimg-pcbios --timeout=0 --append="rw oprofile.timer=1 rootfstype=ext4"
bootloader --source bootimg-pcbios --timeout=0 --append="oprofile.timer=1 rootfstype=${ROOT_FSTYPE}"
part --source bootimg-pcbios --label x-boot --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096
${WIC_ROOTA_PARTITION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment