[deb] Fix transactional chroot initialization
Fix reinitialization of debain chroot Change-Id: I64296c8ec625f656a3b6c1ca62abd8b014eb13d7
This commit is contained in:
parent
0bb816352a
commit
bd8527cf8a
|
@ -43,7 +43,7 @@ docker_init_sbuild() {
|
||||||
rm -rf /etc/schroot/chroot.d
|
rm -rf /etc/schroot/chroot.d
|
||||||
ln -s /srv/images/chroot.d /etc/schroot/chroot.d
|
ln -s /srv/images/chroot.d /etc/schroot/chroot.d
|
||||||
conffile=/etc/schroot/chroot.d/$ROOT_NAME
|
conffile=/etc/schroot/chroot.d/$ROOT_NAME
|
||||||
tmpconffile=/etc/schroot/chroot.d/tmp.$ROOT_NAME
|
tmpconffile=/tmp/tmp.$ROOT_NAME
|
||||||
rootpath=/srv/images/$ROOT_NAME
|
rootpath=/srv/images/$ROOT_NAME
|
||||||
tmprootpath=/srv/images/tmp.$ROOT_NAME
|
tmprootpath=/srv/images/tmp.$ROOT_NAME
|
||||||
[ -f \$conffile ] && mv \$conffile \$tmpconffile
|
[ -f \$conffile ] && mv \$conffile \$tmpconffile
|
||||||
|
|
Loading…
Reference in New Issue