Patched iso fix permission for ostree_repo
When we try to generate a prepatched iso as non-root the ostree pull command fails with permission denied, this commit sets the +w to the temporary working dir. Test Plan: Pass: Create patched iso as root/sudo Pass: patch patched iso as non-root user Story: 2009969 Task: 46467 Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com> Change-Id: Ifd52ef57e4ee77fa3280ad7bfacc831b327bf4dc
This commit is contained in:
parent
8284582ee2
commit
e1c55d8e24
@ -226,6 +226,7 @@ unmount_iso
|
||||
# Fix for permission denied if not running as root
|
||||
chmod +w ${BUILDDIR}
|
||||
chmod -R +w ${BUILDDIR}/isolinux
|
||||
chmod -R +w ${BUILDDIR}/ostree_repo
|
||||
# Extract patch xml
|
||||
mkdir ${BUILDDIR}/patches
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user