index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Jason Chu <jchu@xentac.net> | 2007-11-04 14:55:42 -0800 |
---|---|---|
committer | Jason Chu <jchu@xentac.net> | 2007-11-04 14:55:42 -0800 |
commit | e782cbd00b84f2a60a713c097be28044d5d8c37d (patch) | |
tree | 7fd4d5025bb2f753fbd9082a163b3b2d0bf70024 | |
parent | 3ce2983ad68f7abffccc3ba8ae3eb007f61bdde6 (diff) |
-rwxr-xr-x | mkarchroot | 3 |
@@ -79,6 +79,9 @@ function chroot_mount () [ -e "${working_dir}/var/cache/pacman" ] || mkdir -p "${working_dir}/var/cache/pacman" mount -o bind /var/cache/pacman "${working_dir}/var/cache/pacman" + echo "copying mtab : /etc/mtab" + cp /etc/mtab "${working_dir}/etc/mtab" + trap 'chroot_umount' 0 1 2 15 } |