mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-16 19:36:19 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d5c6bc7656 | ||
![]() |
f7615fe7d7 | ||
![]() |
1703b92e1a |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
*~
|
*~
|
||||||
devtools-*.tar.gz
|
devtools-*.tar.gz*
|
||||||
archbuild
|
archbuild
|
||||||
archco
|
archco
|
||||||
archrelease
|
archrelease
|
||||||
|
@@ -66,7 +66,7 @@ for tag in "$@"; do
|
|||||||
while read -r file; do
|
while read -r file; do
|
||||||
trash+=("repos/$tag/$file")
|
trash+=("repos/$tag/$file")
|
||||||
done < <(svn ls "repos/$tag")
|
done < <(svn ls "repos/$tag")
|
||||||
[[ $trash ]] && svn rm -q "${trash[@]}"
|
[[ $trash ]] && svn rm -q "${trash[@]/%/@}"
|
||||||
else
|
else
|
||||||
mkdir -p "repos/$tag"
|
mkdir -p "repos/$tag"
|
||||||
svn add --parents -q "repos/$tag"
|
svn add --parents -q "repos/$tag"
|
||||||
|
@@ -131,7 +131,7 @@ chroot_mount() {
|
|||||||
[[ -e "${working_dir}/run" ]] || mkdir "${working_dir}/run"
|
[[ -e "${working_dir}/run" ]] || mkdir "${working_dir}/run"
|
||||||
mount -t tmpfs tmpfs "${working_dir}/run" -o mode=0755,nodev,nosuid,strictatime,size=64M
|
mount -t tmpfs tmpfs "${working_dir}/run" -o mode=0755,nodev,nosuid,strictatime,size=64M
|
||||||
|
|
||||||
for host_config in resolv.conf timezone localtime; do
|
for host_config in resolv.conf localtime; do
|
||||||
bind_mount /etc/$host_config ro
|
bind_mount /etc/$host_config ro
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@@ -168,7 +168,7 @@ trap_chroot_umount () {
|
|||||||
[[ -n $host_mirror_path ]] && umount "${working_dir}/${host_mirror_path}"
|
[[ -n $host_mirror_path ]] && umount "${working_dir}/${host_mirror_path}"
|
||||||
|
|
||||||
if (( ! have_nspawn )); then
|
if (( ! have_nspawn )); then
|
||||||
for host_config in resolv.conf timezone localtime; do
|
for host_config in resolv.conf localtime; do
|
||||||
umount "${working_dir}/etc/${host_config}"
|
umount "${working_dir}/etc/${host_config}"
|
||||||
done
|
done
|
||||||
umount "${working_dir}/proc/sys"
|
umount "${working_dir}/proc/sys"
|
||||||
|
Reference in New Issue
Block a user