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