Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
0ec2cd6f4c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      scripts/Build-Pkg

+ 5
- 0
scripts/Build-Pkg

@ -295,6 +295,11 @@ if [ "$chroot" = 1 ] ; then
cat > $builddir/debug.sh <<- EOT
#!/bin/bash
export ROCK_THIS_IS_CHROOT=1
if [ ! -e $PWD/ROCK/loop/scripts ]; then
mount --bind $realbase $PWD/ROCK/loop
mount --bind $realconf $PWD/ROCK/config
mount --bind $realdown $PWD/ROCK/download
fi
chroot "$xroot" /bin/bash ROCK/src.$xpkg.$id/debug_x.sh
EOT
chmod +x $builddir/debug.sh

Loading…
Cancel
Save