M gnu/build/image.scm => gnu/build/image.scm +2 -1
@@ 83,7 83,8 @@ turn doesn't take any constant overhead into account, force a 1-MiB minimum."
(label (partition-label partition))
(uuid (partition-uuid partition)))
(apply invoke
- `("fakeroot" "mkfs.btrfs" "-r" ,root
+ `("unshare" "--map-root-user" "mkfs.btrfs"
+ "-r" ,root
"-L" ,label
,@(if uuid
`("-U" ,(uuid->string uuid))
M gnu/system/image.scm => gnu/system/image.scm +1 -1
@@ 504,7 504,7 @@ used in the image."
initialize-root-partition))
(inputs '#+(cond
((string=? type "btrfs")
- (list btrfs-progs fakeroot))
+ (list btrfs-progs util-linux))
((string-prefix? "ext" type)
(list e2fsprogs fakeroot))
((string=? type "f2fs")