mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 02:34:30 +00:00
Add rw permission to files in image
This commit is contained in:
parent
97d19da268
commit
27f92d0b3f
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ function build_image_env(){
|
|||
"pacman-key --init; pacman-key --populate archlinux; [ -e /etc/pacman.d/gnupg/S.gpg-agent ] && gpg-connect-agent -S /etc/pacman.d/gnupg/S.gpg-agent killagent /bye"
|
||||
|
||||
sudo rm ${maindir}/root/var/cache/pacman/pkg/*
|
||||
# This is needed on system with busybox tar command.
|
||||
# If the file does not have write permission, the tar command to extract files fails.
|
||||
sudo chmod -R u+rw ${maindir}/root/etc/ca-certificates/extracted/cadir
|
||||
|
||||
mkdir -p ${maindir}/output
|
||||
builtin cd ${maindir}/output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue