Fix ownership issues of custom scripts

This commit is contained in:
Olaf Meeuwissen 2017-08-17 17:13:35 +09:00
parent 6595d68dd1
commit 5814d5ec82
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ debootstrap \
--variant=minbase jessie $rootfs
bindir=usr/local/bin
cp -a scripts/* $rootfs/$bindir
install -m 0755 -o root -g root scripts/* $rootfs/$bindir
for script in $(ls $rootfs/$bindir); do
chroot $rootfs /$bindir/$script