l-m-c with --rootfs btrfs fails because of unsupported -U option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Loïc Minier |
Bug Description
trying btrfs with 0.4.1 l-m-c fails like (using mkfs.btrfs from maverick):
Formating root partition
mkfs.btrfs: invalid option -- 'U'
usage: mkfs.btrfs [options] dev [ dev ... ]
options:
-A --alloc-start the offset to start the FS
-b --byte-count total number of bytes in the FS
-d --data data profile, raid0, raid1, raid10 or single
-l --leafsize size of btree leaves
-L --label set a label
-m --metadata metadata profile, values like data profile
-n --nodesize size of btree nodes
-s --sectorsize min block allocation
Btrfs Btrfs v0.19
Traceback (most recent call last):
File "./linaro-
args.
File "/home/
proc.wait()
File "/home/
raise SubcommandNonZe
linaro_
Related branches
- James Westby (community): Approve
-
Diff: 411 lines (+99/-50) (has conflicts)7 files modifieddebian/control (+0/-1)
linaro-media-create (+12/-6)
linaro_media_create/__init__.py (+1/-2)
linaro_media_create/boards.py (+5/-7)
linaro_media_create/partitions.py (+22/-4)
linaro_media_create/populate_boot.py (+5/-4)
linaro_media_create/tests/test_media_create.py (+54/-26)
Changed in linaro-image-tools: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in linaro-image-tools: | |
milestone: | none → 0.4.2 |
Changed in linaro-image-tools: | |
status: | Confirmed → In Progress |
assignee: | nobody → Loïc Minier (lool) |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
AIUI, l-m-c specifies the UUID when creating the filesystem so that it knows what to use on /etc/fstab later on. I can't seem to find a way to set the UUID of a btrfs; does anybody know how to do so?
If that's not possible maybe we'll have to let mkfs.btrfs generate the UUID itself (which I assume it does) and then query that later to use on /etc/fstab.