[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH TEST-ARTEFACTS] Be explicit about root in scripts/alpine-rootfs.sh
The container is running as root, but be explicit anyway. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: Anthony PERARD <anthony.perard@xxxxxxxxxx> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> CC: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> --- scripts/alpine-rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/alpine-rootfs.sh b/scripts/alpine-rootfs.sh index c999b89dbcd8..6fa1d56775bc 100755 --- a/scripts/alpine-rootfs.sh +++ b/scripts/alpine-rootfs.sh @@ -84,7 +84,7 @@ cd / PATHS="bin etc home init lib mnt opt root sbin srv usr var" find $PATHS -print0 echo -ne "dev\0proc\0run\0sys\0" -} | cpio -0 -H newc -o | gzip > "${COPYDIR}/rootfs.cpio.gz" +} | cpio -0 -R 0:0 -H newc -o | gzip > "${COPYDIR}/rootfs.cpio.gz" # Print the contents for the build log zcat "${COPYDIR}/rootfs.cpio.gz" | cpio -tv base-commit: d7434697deec41ddf31a2f3d189dee75d4d2486f -- 2.39.5
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |