repart-image: removing unshare (and util-linux dep) form systemd-repart invocation
..
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
, mypy
|
, mypy
|
||||||
, systemd
|
, systemd
|
||||||
, fakeroot
|
, fakeroot
|
||||||
, util-linux
|
|
||||||
|
|
||||||
# filesystem tools
|
# filesystem tools
|
||||||
, dosfstools
|
, dosfstools
|
||||||
@@ -105,7 +104,6 @@ in
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
systemd
|
systemd
|
||||||
fakeroot
|
fakeroot
|
||||||
util-linux
|
|
||||||
] ++ lib.optionals (compression.enable) [
|
] ++ lib.optionals (compression.enable) [
|
||||||
compressionPkg
|
compressionPkg
|
||||||
] ++ fileSystemTools;
|
] ++ fileSystemTools;
|
||||||
@@ -148,7 +146,7 @@ in
|
|||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
echo "Building image with systemd-repart..."
|
echo "Building image with systemd-repart..."
|
||||||
unshare --map-root-user fakeroot systemd-repart \
|
fakeroot systemd-repart \
|
||||||
''${systemdRepartFlags[@]} \
|
''${systemdRepartFlags[@]} \
|
||||||
${imageFileBasename}.raw \
|
${imageFileBasename}.raw \
|
||||||
| tee repart-output.json
|
| tee repart-output.json
|
||||||
|
|||||||
Reference in New Issue
Block a user