mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 09:56:18 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aa39a8a11f | ||
![]() |
d40455cabd | ||
![]() |
a80fe69f4b |
2
archco
2
archco
@@ -6,5 +6,5 @@ if [ "$1" = "" ]; then
|
||||
fi
|
||||
|
||||
for i in "$@"; do
|
||||
svn co svn+ssh://svn.archlinux.org/home/svn-packages/$i
|
||||
svn co svn+ssh://svn.archlinux.org/srv/svn-packages/$i
|
||||
done
|
||||
|
2
extrapkg
2
extrapkg
@@ -64,7 +64,7 @@ fi
|
||||
|
||||
if [ "$repo" != "community" ]; then
|
||||
# combine what we know into a variable
|
||||
uploadto="staging/${repo}/add/$(basename ${pkgfile})"
|
||||
uploadto="staging/${repo}/$(basename ${pkgfile})"
|
||||
scp ${scpopts} "${pkgfile}" "archlinux.org:${uploadto}"
|
||||
if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum "${uploadto}" | cut -d' ' -f1)" ]; then
|
||||
echo "File got corrupted during upload, cancelled."
|
||||
|
@@ -171,9 +171,11 @@ else
|
||||
cp ${makepkg_conf} ${working_dir}/etc/makepkg.conf
|
||||
fi
|
||||
|
||||
echo "generating default locales"
|
||||
cp /etc/locale.gen "${working_dir}/etc/locale.gen"
|
||||
chroot "${working_dir}" locale-gen
|
||||
if [ -e "${working_dir}/etc/locale.gen" ]; then
|
||||
echo "generating default locales from host system"
|
||||
cp /etc/locale.gen "${working_dir}/etc/locale.gen"
|
||||
chroot "${working_dir}" locale-gen
|
||||
fi
|
||||
|
||||
if [ ! -e "${working_dir}/.arch-chroot" ]; then
|
||||
date +%s > "${working_dir}/.arch-chroot"
|
||||
|
Reference in New Issue
Block a user