mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 02:34:30 +00:00
#305: Add fakeroot variable to bypass chown commands
This commit is contained in:
parent
6048b43218
commit
95f97a62b7
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ EOT
|
|||
echo "Generating the metadata info"
|
||||
sudo install -d -m 755 "${maindir}/root/etc/${CMD}"
|
||||
sudo bash -c "echo 'JUNEST_ARCH=$ARCH' > ${maindir}/root/etc/${CMD}/info"
|
||||
# Related to: https://github.com/fsquillace/junest/issues/305
|
||||
sudo bash -c "echo 'export FAKEROOTDONTTRYCHOWN=true' > ${maindir}/root/etc/profile.d/junest.sh"
|
||||
|
||||
info "Generating the locales..."
|
||||
# sed command is required for locale-gen but it is required by fakeroot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue