Fix ownership issues of custom scripts
This commit is contained in:
parent
6595d68dd1
commit
5814d5ec82
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue