forked from josch/mmdebstrap
mmdebstrap-autopkgtest-build-qemu: fix octal mode computation
This commit is contained in:
parent
3e233e10df
commit
8410dc6636
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ echo "mmdebstrap $*"
|
|||
mmdebstrap "$@" || die "mmdebstrap failed"
|
||||
|
||||
unshare -U -r --map-groups=auto chown 0:0 "$IMAGE"
|
||||
chmod "$(printf %o "$(( 0666 - 0$(umask) ))")" "$IMAGE"
|
||||
chmod "$(printf %o "$(( 0666 & ~0$(umask) ))")" "$IMAGE"
|
||||
|
||||
echo "root=LABEL=autopkgtestvm rw console=ttyS0" > "$WORKDIR/cmdline"
|
||||
|
||||
|
|
Loading…
Reference in a new issue