mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-16 11:26:19 +02:00
Compare commits
46 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e8490b3f14 | ||
![]() |
ff1fc799c3 | ||
![]() |
0b0a7b3140 | ||
![]() |
e0f139ad0e | ||
![]() |
0410fb0a2f | ||
![]() |
3078cb535c | ||
![]() |
484d36e931 | ||
![]() |
a0ccba5622 | ||
![]() |
a8a3c856bf | ||
![]() |
2c06da35d6 | ||
![]() |
eb7646ca18 | ||
![]() |
97d4a8bbd0 | ||
![]() |
6748570413 | ||
![]() |
d853dee3ed | ||
![]() |
9e627e219e | ||
![]() |
113f51fbc0 | ||
![]() |
fc7f570aad | ||
![]() |
5eb176f471 | ||
![]() |
59d373a62b | ||
![]() |
bc8a791ad6 | ||
![]() |
4a829ff1f7 | ||
![]() |
5472d5ab5a | ||
![]() |
f05495dfc8 | ||
![]() |
c229a696a2 | ||
![]() |
e77986fc08 | ||
![]() |
f7ab112f9a | ||
![]() |
0986936143 | ||
![]() |
e23b176f3e | ||
![]() |
f92e01ed28 | ||
![]() |
ceb84394f9 | ||
![]() |
e71c9784b5 | ||
![]() |
e16136b8e8 | ||
![]() |
9e660ee86e | ||
![]() |
06a0d18bdc | ||
![]() |
84f29cd824 | ||
![]() |
e32a2bb70c | ||
![]() |
974d8d11a6 | ||
![]() |
64ff97a171 | ||
![]() |
39aad4fe59 | ||
![]() |
411c07f2fb | ||
![]() |
1e1e1e481e | ||
![]() |
bced48cecd | ||
![]() |
e782cbd00b | ||
![]() |
3ce2983ad6 | ||
![]() |
b528eba028 | ||
![]() |
7bb2c48c8f |
21
Makefile
21
Makefile
@@ -5,10 +5,25 @@ install:
|
|||||||
mkdir -p $(DESTDIR)/usr/bin
|
mkdir -p $(DESTDIR)/usr/bin
|
||||||
install -m 755 checkpkg $(DESTDIR)/usr/bin
|
install -m 755 checkpkg $(DESTDIR)/usr/bin
|
||||||
install -m 755 extrapkg $(DESTDIR)/usr/bin
|
install -m 755 extrapkg $(DESTDIR)/usr/bin
|
||||||
ln -s extrapkg $(DESTDIR)/usr/bin/corepkg
|
ln -sf extrapkg $(DESTDIR)/usr/bin/corepkg
|
||||||
ln -s extrapkg $(DESTDIR)/usr/bin/testingpkg
|
ln -sf extrapkg $(DESTDIR)/usr/bin/testingpkg
|
||||||
ln -s extrapkg $(DESTDIR)/usr/bin/unstablepkg
|
ln -sf extrapkg $(DESTDIR)/usr/bin/unstablepkg
|
||||||
# new chroot tools, only usable by root
|
# new chroot tools, only usable by root
|
||||||
mkdir -p $(DESTDIR)/usr/sbin
|
mkdir -p $(DESTDIR)/usr/sbin
|
||||||
install -m 755 mkarchroot $(DESTDIR)/usr/sbin
|
install -m 755 mkarchroot $(DESTDIR)/usr/sbin
|
||||||
install -m 755 makechrootpkg $(DESTDIR)/usr/sbin
|
install -m 755 makechrootpkg $(DESTDIR)/usr/sbin
|
||||||
|
#Additional packaging helper scripts
|
||||||
|
install -m 755 lddd $(DESTDIR)/usr/bin
|
||||||
|
install -m 755 finddeps $(DESTDIR)/usr/bin
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
# remove all files we installed
|
||||||
|
rm $(DESTDIR)/usr/bin/checkpkg
|
||||||
|
rm $(DESTDIR)/usr/bin/extrapkg
|
||||||
|
rm $(DESTDIR)/usr/bin/corepkg
|
||||||
|
rm $(DESTDIR)/usr/bin/testingpkg
|
||||||
|
rm $(DESTDIR)/usr/bin/unstablepkg
|
||||||
|
rm $(DESTDIR)/usr/sbin/mkarchroot
|
||||||
|
rm $(DESTDIR)/usr/sbin/makechrootpkg
|
||||||
|
rm $(DESTDIR)/usr/bin/lddd
|
||||||
|
rm $(DESTDIR)/usr/bin/finddeps
|
||||||
|
44
checkpkg
44
checkpkg
@@ -1,6 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source /etc/makepkg.conf
|
# Source makepkg.conf; fail if it is not found
|
||||||
|
if [ -r "/etc/makepkg.conf" ]; then
|
||||||
|
source "/etc/makepkg.conf"
|
||||||
|
else
|
||||||
|
echo "/etc/makepkg.conf not found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Source user-specific makepkg.conf overrides
|
||||||
|
if [ -r ~/.makepkg.conf ]; then
|
||||||
|
source ~/.makepkg.conf
|
||||||
|
fi
|
||||||
|
|
||||||
strip_url() {
|
strip_url() {
|
||||||
echo $1 | sed 's|^.*://.*/||g'
|
echo $1 | sed 's|^.*://.*/||g'
|
||||||
@@ -16,18 +27,17 @@ source PKGBUILD
|
|||||||
pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz
|
pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz
|
||||||
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
|
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
|
||||||
|
|
||||||
if [ ! -f $pkgfile ]; then
|
if [ -f "$(pwd)/$pkgfile" ]; then
|
||||||
if [ -f $PKGDEST/$pkgfile ]; then
|
pkgfile=$(pwd)/$pkgfile
|
||||||
pkgfile=$PKGDEST/$pkgfile
|
elif [ -f "$PKGDEST/$pkgfile" ]; then
|
||||||
oldstylepkgfile=$PKGDEST/$oldstylepkgfile
|
pkgfile=$PKGDEST/$pkgfile
|
||||||
elif [ -f $oldstylepkgfile ]; then
|
elif [ -f "$(pwd)/$oldstylepkgfile" ]; then
|
||||||
pkgfile=$oldstylepkgfile
|
pkgfile=$(pwd)/$oldstylepkgfile
|
||||||
elif [ -f $PKGDEST/$oldstylepkgfile ]; then
|
elif [ -f "$PKGDEST/$oldstylepkgfile" ]; then
|
||||||
pkgfile=$PKGDEST/$oldstylepkgfile
|
pkgfile=$PKGDEST/$oldstylepkgfile
|
||||||
else
|
else
|
||||||
echo "File $pkgfile doesn't exist"
|
echo "File \"$pkgfile\" doesn't exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmp=`pacman -Spd --noconfirm $pkgname`
|
tmp=`pacman -Spd --noconfirm $pkgname`
|
||||||
@@ -41,7 +51,7 @@ pkgurl=`echo $tmp | rev | cut -d ' ' -f 1 | rev`
|
|||||||
|
|
||||||
oldpkg=`strip_url $pkgurl`
|
oldpkg=`strip_url $pkgurl`
|
||||||
|
|
||||||
if [ "$oldpkg" = "$pkgfile" ]; then
|
if [ "$(basename $oldpkg)" = "$(basename $pkgfile)" ]; then
|
||||||
echo "The built package is the one in the repo right now!"
|
echo "The built package is the one in the repo right now!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -55,7 +65,7 @@ if [ ! -f $oldpkg ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
tar tzf $oldpkg > filelist-old
|
tar tzf $oldpkg > filelist-old
|
||||||
tar tzf $pkgfile > filelist
|
tar tzf "$pkgfile" > filelist
|
||||||
|
|
||||||
sort -o filelist filelist
|
sort -o filelist filelist
|
||||||
sort -o filelist-old filelist-old
|
sort -o filelist-old filelist-old
|
||||||
@@ -65,7 +75,7 @@ diff filelist-old filelist
|
|||||||
if diff filelist-old filelist | grep '\.so\.' > /dev/null 2>&1; then
|
if diff filelist-old filelist | grep '\.so\.' > /dev/null 2>&1; then
|
||||||
mkdir -p pkg
|
mkdir -p pkg
|
||||||
cd pkg
|
cd pkg
|
||||||
tar xzf ../$pkgfile > /dev/null
|
tar xzf "$pkgfile" > /dev/null
|
||||||
for i in `diff ../filelist-old ../filelist | grep \> | grep \.so\. | awk '{print $2}'`; do
|
for i in `diff ../filelist-old ../filelist | grep \> | grep \.so\. | awk '{print $2}'`; do
|
||||||
echo -n "${i}: "
|
echo -n "${i}: "
|
||||||
objdump -p $i | grep SONAME
|
objdump -p $i | grep SONAME
|
||||||
@@ -73,3 +83,5 @@ if diff filelist-old filelist | grep '\.so\.' > /dev/null 2>&1; then
|
|||||||
else
|
else
|
||||||
echo "No filename differences"
|
echo "No filename differences"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim:ft=sh:ts=4:sw=4:et:
|
||||||
|
151
extrapkg
151
extrapkg
@@ -1,12 +1,37 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source /etc/makepkg.conf
|
# Source makepkg.conf; fail if it is not found
|
||||||
|
if [ -r "/etc/makepkg.conf" ]; then
|
||||||
|
source "/etc/makepkg.conf"
|
||||||
|
else
|
||||||
|
echo "/etc/makepkg.conf not found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Source user-specific makepkg.conf overrides
|
||||||
|
if [ -r ~/.makepkg.conf ]; then
|
||||||
|
source ~/.makepkg.conf
|
||||||
|
fi
|
||||||
|
|
||||||
cmd=`basename $0`
|
cmd=`basename $0`
|
||||||
|
|
||||||
if [ ! -f PKGBUILD ]; then
|
if [ ! -f PKGBUILD ]; then
|
||||||
echo "No PKGBUILD file"
|
echo "No PKGBUILD file"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# define tags and staging areas based on architecture
|
||||||
|
if [ "$CARCH" = "i686" ]; then
|
||||||
|
currenttag='CURRENT'
|
||||||
|
testingtag='TESTING'
|
||||||
|
suffix=''
|
||||||
|
elif [ "$CARCH" = "x86_64" ]; then
|
||||||
|
currenttag='CURRENT-64'
|
||||||
|
testingtag='TESTING-64'
|
||||||
|
suffix='64'
|
||||||
|
else
|
||||||
|
echo "CARCH must be set to a recognized value!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source PKGBUILD
|
source PKGBUILD
|
||||||
@@ -14,90 +39,94 @@ pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz
|
|||||||
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
|
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
|
||||||
|
|
||||||
if [ ! -f $pkgfile ]; then
|
if [ ! -f $pkgfile ]; then
|
||||||
if [ -f $PKGDEST/$pkgfile ]; then
|
if [ -f $PKGDEST/$pkgfile ]; then
|
||||||
pkgfile=$PKGDEST/$pkgfile
|
pkgfile=$PKGDEST/$pkgfile
|
||||||
oldstylepkgfile=$PKGDEST/$oldstylepkgfile
|
oldstylepkgfile=$PKGDEST/$oldstylepkgfile
|
||||||
elif [ -f $oldstylepkgfile ]; then
|
elif [ -f $oldstylepkgfile ]; then
|
||||||
pkgfile=$oldstylepkgfile
|
pkgfile=$oldstylepkgfile
|
||||||
elif [ -f $PKGDEST/$oldstylepkgfile ]; then
|
elif [ -f $PKGDEST/$oldstylepkgfile ]; then
|
||||||
pkgfile=$PKGDEST/$oldstylepkgfile
|
pkgfile=$PKGDEST/$oldstylepkgfile
|
||||||
else
|
else
|
||||||
echo "File $pkgfile doesn't exist"
|
echo "File $pkgfile doesn't exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$cmd" == "extrapkg" ]; then
|
if [ "$cmd" == "extrapkg" ]; then
|
||||||
repo="extra"
|
repo="extra"
|
||||||
tag="CURRENT"
|
tag="$currenttag"
|
||||||
elif [ "$cmd" == "corepkg" ]; then
|
elif [ "$cmd" == "corepkg" ]; then
|
||||||
repo="core"
|
repo="core"
|
||||||
tag="CURRENT"
|
tag="$currenttag"
|
||||||
elif [ "$cmd" == "testingpkg" ]; then
|
elif [ "$cmd" == "testingpkg" ]; then
|
||||||
repo="testing"
|
repo="testing"
|
||||||
tag="TESTING"
|
tag="$testingtag"
|
||||||
elif [ "$cmd" == "unstablepkg" ]; then
|
elif [ "$cmd" == "unstablepkg" ]; then
|
||||||
repo="unstable"
|
repo="unstable"
|
||||||
tag="CURRENT"
|
tag="$currenttag"
|
||||||
elif [ "$cmd" == "communitypkg" ]; then
|
elif [ "$cmd" == "communitypkg" ]; then
|
||||||
repo="community"
|
repo="community"
|
||||||
tag="CURRENT"
|
tag="$currenttag"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# see if any limit options were passed, we'll send them to SCP
|
# see if any limit options were passed, we'll send them to SCP
|
||||||
unset scpopts
|
unset scpopts
|
||||||
if [ "$1" = "-l" ]; then
|
if [ "$1" = "-l" ]; then
|
||||||
scpopts="$1 $2"
|
scpopts="$1 $2"
|
||||||
shift 2
|
shift 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$repo" != "community" ]; then
|
if [ "$repo" != "community" ]; then
|
||||||
scp ${scpopts} ${pkgfile} archlinux.org:staging/$repo/add
|
# combine what we know into a variable (suffix defined based on $CARCH)
|
||||||
if [ "$(md5sum ${pkgfile} | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum staging/${repo}/add/$(basename ${pkgfile}) | cut -d' ' -f1)" ]; then
|
uploadto="staging/${repo}${suffix}/add/$(basename ${pkgfile})"
|
||||||
echo "File got corrupted during upload, cancelled."
|
scp ${scpopts} "${pkgfile}" "archlinux.org:${uploadto}"
|
||||||
exit 1
|
if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum "${uploadto}" | cut -d' ' -f1)" ]; then
|
||||||
else
|
echo "File got corrupted during upload, cancelled."
|
||||||
echo "File integrity okay."
|
exit 1
|
||||||
fi
|
else
|
||||||
|
echo "File integrity okay."
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ ! -f ~/.tupkg ]; then
|
if [ ! -f ~/.tupkg ]; then
|
||||||
echo "Must configure tupkg via ~/.tupkg, cancelled"
|
echo "Must configure tupkg via ~/.tupkg, cancelled"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ "$(basename $pkgfile)" != "$(basename $oldstylepkgfile)" ]; then
|
if [ "$(basename $pkgfile)" != "$(basename $oldstylepkgfile)" ]; then
|
||||||
echo "Renaming makepkg3 package for compatability"
|
echo "Renaming makepkg3 package for compatability"
|
||||||
mv $pkgfile $oldstylepkgfile
|
mv $pkgfile $oldstylepkgfile
|
||||||
pkgfile=$oldstylepkgfile
|
pkgfile=$oldstylepkgfile
|
||||||
fi
|
fi
|
||||||
tupkg $pkgfile
|
tupkg $pkgfile
|
||||||
fi
|
fi
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Cancelled"
|
echo "Cancelled"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "===> Uploaded $pkgfile"
|
echo "===> Uploaded $pkgfile"
|
||||||
|
|
||||||
if [ "$1" != "" ]; then
|
if [ "$1" != "" ]; then
|
||||||
cvs commit -m "upgpkg: $pkgname $pkgver-$pkgrel
|
cvs commit -m "upgpkg: $pkgname $pkgver-$pkgrel
|
||||||
$1" > /dev/null
|
$1" > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Cancelled"
|
echo "Cancelled"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "===> Commited with \"upgpkg: $pkgname $pkgver-$pkgrel
|
echo "===> Commited with \"upgpkg: $pkgname $pkgver-$pkgrel
|
||||||
$1\" message"
|
$1\" message"
|
||||||
else
|
else
|
||||||
cvs commit -m "upgpkg: $pkgname $pkgver-$pkgrel" > /dev/null
|
cvs commit -m "upgpkg: $pkgname $pkgver-$pkgrel" > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Cancelled"
|
echo "Cancelled"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "===> Commited with \"upgpkg: $pkgname $pkgver-$pkgrel\" message"
|
echo "===> Commited with \"upgpkg: $pkgname $pkgver-$pkgrel\" message"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cvs tag -c -F -R $tag > /dev/null
|
cvs tag -c -F -R $tag > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Cancelled"
|
echo "Cancelled"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "===> Tagged as $tag"
|
echo "===> Tagged as $tag"
|
||||||
|
|
||||||
|
# vim:ft=sh:ts=4:sw=4:et:
|
||||||
|
41
finddeps
Executable file
41
finddeps
Executable file
@@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# finddeps - find packages that depend on a given depname
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ "$1" = "" ]; then
|
||||||
|
echo "usage: finddeps <depname>"
|
||||||
|
echo ""
|
||||||
|
echo "Find packages that depend on a given depname."
|
||||||
|
echo "Run this script from the top-level directory of your ABS tree."
|
||||||
|
echo ""
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
match=$1
|
||||||
|
tld=$(pwd)
|
||||||
|
|
||||||
|
for d in $(find . -type d); do
|
||||||
|
cd $d
|
||||||
|
if [ -f PKGBUILD ]; then
|
||||||
|
unset pkgname depends makedepends
|
||||||
|
. PKGBUILD
|
||||||
|
for dep in "${depends[@]}"; do
|
||||||
|
# lose the version comaparator, if any
|
||||||
|
depname=${dep%%[<>=]*}
|
||||||
|
if [ "$depname" = "$match" ]; then
|
||||||
|
echo "$d (depends)"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
for dep in "${makedepends[@]}"; do
|
||||||
|
# lose the version comaparator, if any
|
||||||
|
depname=${dep%%[<>=]*}
|
||||||
|
if [ "$depname" = "$match" ]; then
|
||||||
|
echo "$d (makedepends)"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
cd $tld
|
||||||
|
done
|
||||||
|
|
||||||
|
# vim:ft=sh:ts=4:sw=4:et:
|
47
lddd
Executable file
47
lddd
Executable file
@@ -0,0 +1,47 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# lddd - find broken library links on your machine
|
||||||
|
#
|
||||||
|
|
||||||
|
ifs=$IFS
|
||||||
|
IFS=':'
|
||||||
|
|
||||||
|
libdirs="/lib:/usr/lib:/opt/qt/lib:/opt/kde/lib:/usr/lib/libfakeroot:/opt/NX/lib"
|
||||||
|
extras=
|
||||||
|
|
||||||
|
TEMPDIR=$(mktemp /tmp/lddd-script.XXXX)
|
||||||
|
rm $TEMPDIR
|
||||||
|
mkdir -p $TEMPDIR
|
||||||
|
|
||||||
|
echo " Go out and drink some tea, this will take a while :) ..."
|
||||||
|
# Check ELF binaries in the PATH and specified dir trees.
|
||||||
|
for tree in $PATH $libdirs $extras
|
||||||
|
do
|
||||||
|
echo DIR $tree
|
||||||
|
|
||||||
|
# Get list of files in tree.
|
||||||
|
files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' ! -name '*.rb' ! -name '*.ko' ! -name '*.pc' ! -name '*.enc' ! -name '*.cf' ! -name '*.def' ! -name '*.rules' ! -name '*.cmi' ! -name '*.mli' ! -name '*.ml' ! -name '*.cma' ! -name '*.cmx' ! -name '*.cmxa' ! -name '*.pod' ! -name '*.pm' ! -name '*.pl' ! -name '*.al' ! -name '*.tcl' ! -name '*.bs' ! -name '*.o' ! -name '*.png' ! -name '*.gif' ! -name '*.cmo' ! -name '*.cgi' ! -name '*.defs' ! -name '*.conf' ! -name '*_LOCALE' ! -name 'Compose' ! -name '*_OBJS' ! -name '*.msg' ! -name '*.mcopclass' ! -name '*.mcoptype')
|
||||||
|
IFS=$ifs
|
||||||
|
for i in $files
|
||||||
|
do
|
||||||
|
if [ `file $i | grep -c 'ELF'` -ne 0 ]; then
|
||||||
|
# Is an ELF binary.
|
||||||
|
if [ `ldd $i 2>/dev/null | grep -c 'not found'` -ne 0 ]; then
|
||||||
|
# Missing lib.
|
||||||
|
echo "$i:" >> $TEMPDIR/raw.txt
|
||||||
|
ldd $i 2>/dev/null | grep 'not found' >> $TEMPDIR/raw.txt
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
grep '^/' $TEMPDIR/raw.txt | sed -e 's/://g' >> $TEMPDIR/affected-files.txt
|
||||||
|
# invoke pacman
|
||||||
|
for i in $(cat $TEMPDIR/affected-files.txt); do
|
||||||
|
pacman -Qo $i | awk '{print $4,$5}' >> $TEMPDIR/pacman.txt
|
||||||
|
done
|
||||||
|
# clean list
|
||||||
|
sort -u $TEMPDIR/pacman.txt >> $TEMPDIR/possible-rebuilds.txt
|
||||||
|
|
||||||
|
echo "Files saved to $TEMPDIR"
|
||||||
|
|
||||||
|
# vim:ft=sh:ts=4:sw=4:et:
|
148
makechrootpkg
148
makechrootpkg
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; version 2 of the License.
|
# the Free Software Foundation; version 2 of the License.
|
||||||
@@ -10,26 +10,18 @@
|
|||||||
|
|
||||||
FORCE="n"
|
FORCE="n"
|
||||||
RUN=""
|
RUN=""
|
||||||
MAKEPKG_ARGS="-Ss"
|
MAKEPKG_ARGS="-sr"
|
||||||
|
REPACK=""
|
||||||
|
WORKDIR=$PWD
|
||||||
|
clean_first="0"
|
||||||
|
|
||||||
chrootdir="$CHROOT_SHELL"
|
chrootdir="$CHROOT_SHELL"
|
||||||
|
|
||||||
APPNAME=$(basename "${0}")
|
APPNAME=$(basename "${0}")
|
||||||
|
|
||||||
if [ ! -f PKGBUILD ]; then
|
|
||||||
echo "This must be run in the directory of a built package."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
source PKGBUILD
|
|
||||||
|
|
||||||
if [ "$EUID" != "0" ]; then
|
|
||||||
echo "This script must be run as root."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
usage ()
|
usage ()
|
||||||
{
|
{
|
||||||
echo "usage ${APPNAME} [-h] [-c CHROOT_SHELL] [makepkg args]"
|
echo "usage ${APPNAME} [-h] [-c] [-r CHROOT_SHELL] [--] [makepkg args]"
|
||||||
echo " Run this script in a PKGBUILD dir to build a package inside a"
|
echo " Run this script in a PKGBUILD dir to build a package inside a"
|
||||||
echo " clean chroot. All unrecognized arguments passed to this script"
|
echo " clean chroot. All unrecognized arguments passed to this script"
|
||||||
echo " will be passed to makepkg."
|
echo " will be passed to makepkg."
|
||||||
@@ -39,24 +31,56 @@ usage ()
|
|||||||
echo " directories: \$CHROOT_SHELL/{root, rw, union} but only 'root' is"
|
echo " directories: \$CHROOT_SHELL/{root, rw, union} but only 'root' is"
|
||||||
echo " required by default. The rest will be created as needed"
|
echo " required by default. The rest will be created as needed"
|
||||||
echo ""
|
echo ""
|
||||||
|
echo "The -c flag, if specified, will remove all files created by previous"
|
||||||
|
echo "builds using makechrootpkg. This will ensure a clean chroot is used."
|
||||||
|
echo ""
|
||||||
echo "The chroot shell 'root' directory must be created via the following"
|
echo "The chroot shell 'root' directory must be created via the following"
|
||||||
echo "command:"
|
echo "command:"
|
||||||
echo " mkarchroot \$CHROOT_SHELL base base-devel sudo"
|
echo " mkarchroot \$CHROOT_SHELL/root base base-devel sudo"
|
||||||
|
echo ""
|
||||||
|
echo "If you have problems passing params to makepkg or need to pass long"
|
||||||
|
echo "options, put -- between the makechrootpkg args and the makepkg args"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Default makepkg args: $MAKEPKG_ARGS"
|
echo "Default makepkg args: $MAKEPKG_ARGS"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts 'c:h' arg; do
|
while getopts ':r:h:c' arg; do
|
||||||
case "${arg}" in
|
case "${arg}" in
|
||||||
c) chrootdir="$OPTARG" ;;
|
r) chrootdir="$OPTARG" ;;
|
||||||
|
c) clean_first=1 ;;
|
||||||
h|?) usage ;;
|
h|?) usage ;;
|
||||||
*) MAKEPKG_ARGS="$MAKEPKG_ARGS -$arg $OPTARG" ;;
|
*) MAKEPKG_ARGS="$MAKEPKG_ARGS -$arg $OPTARG" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#Get rid of trailing / in chrootdir
|
||||||
|
[ "$chrootdir" != "/" ] && chrootdir=$(echo $chrootdir | sed 's#/$##')
|
||||||
|
|
||||||
|
# Pass all arguments after -- right to makepkg
|
||||||
|
MAKEPKG_ARGS="$MAKEPKG_ARGS ${*:$OPTIND}"
|
||||||
|
|
||||||
|
# See if -R was passed to makepkg
|
||||||
|
for arg in ${*:$OPTIND}; do
|
||||||
|
if [ "$arg" = "-R" ]; then
|
||||||
|
REPACK=1
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "$EUID" != "0" ]; then
|
||||||
|
echo "This script must be run as root."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f PKGBUILD ]; then
|
||||||
|
echo "This must be run in a directory containing a PKGBUILD."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
source PKGBUILD
|
||||||
|
|
||||||
if [ ! -d "$chrootdir" ]; then
|
if [ ! -d "$chrootdir" ]; then
|
||||||
echo "No \$CHROOT_SHELL defined, or invalid path"
|
echo "No \$CHROOT_SHELL defined, or invalid path ($chrootdir)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -66,35 +90,88 @@ if [ ! -d "$chrootdir/root" ]; then
|
|||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -d "$chrootdir/rw" -a "$clean_first" -eq "1" ] && rm -rf "$chrootdir/rw/"
|
||||||
[ -d "$chrootdir/rw" ] || mkdir "$chrootdir/rw"
|
[ -d "$chrootdir/rw" ] || mkdir "$chrootdir/rw"
|
||||||
[ -d "$chrootdir/union" ] || mkdir "$chrootdir/union"
|
[ -d "$chrootdir/union" ] || mkdir "$chrootdir/union"
|
||||||
|
|
||||||
function cleanup ()
|
cleanup ()
|
||||||
{
|
{
|
||||||
echo "cleaning up unioned mounts"
|
echo "cleaning up unioned mounts"
|
||||||
|
umount "$chrootdir/union/pkgdest" 2>/dev/null
|
||||||
|
umount "$chrootdir/union/srcdest" 2>/dev/null
|
||||||
umount "$chrootdir/union"
|
umount "$chrootdir/union"
|
||||||
}
|
}
|
||||||
|
|
||||||
uniondir="$chrootdir/union"
|
uniondir="$chrootdir/union"
|
||||||
echo "building union chroot"
|
echo "building union chroot"
|
||||||
modprobe -q unionfs
|
grep -Fq unionfs /proc/filesystems
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
modprobe -q unionfs
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: No unionfs available. Abandon ship!" && exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
mount -t unionfs none -o "dirs=$chrootdir/rw=rw:$chrootdir/root=ro" "$uniondir"
|
mount -t unionfs none -o "dirs=$chrootdir/rw=rw:$chrootdir/root=ro" "$uniondir"
|
||||||
trap 'cleanup' 0 1 2 15
|
trap 'cleanup' 0 1 2 15
|
||||||
|
|
||||||
echo "moving build files to chroot"
|
echo "moving build files to chroot"
|
||||||
[ -d "$uniondir/build" ] || mkdir "$uniondir/build"
|
[ -d "$uniondir/build" ] || mkdir "$uniondir/build"
|
||||||
|
|
||||||
|
if [ "$REPACK" != "1" ]; then
|
||||||
|
#Remove anything in there UNLESS -R (repack) was passed to makepkg
|
||||||
|
rm -rf "$uniondir/build/"*
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy makepkg.conf and ~/.makepkg.conf into the chroot so packager has
|
||||||
|
# all their custom variables set.
|
||||||
|
if [ -r "/etc/makepkg.conf" ]; then
|
||||||
|
rm $uniondir/etc/makepkg.conf
|
||||||
|
cp /etc/makepkg.conf $uniondir/etc/makepkg.conf
|
||||||
|
fi
|
||||||
|
if [ -r ~/.makepkg.conf ]; then
|
||||||
|
cat ~/.makepkg.conf >> $uniondir/etc/makepkg.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
source $uniondir/etc/makepkg.conf
|
||||||
|
|
||||||
|
# Magic trickery with PKGDEST and SRCDEST, so that the built
|
||||||
|
# files end up where they're expected in the _real_ filesystem
|
||||||
|
[ -d "$uniondir/srcdest" ] || mkdir "$uniondir/srcdest"
|
||||||
|
[ -d "$uniondir/pkgdest" ] || mkdir "$uniondir/pkgdest"
|
||||||
|
[ ! -z "$PKGDEST" ] && mount --bind "$PKGDEST" "$uniondir/pkgdest"
|
||||||
|
[ ! -z "$SRCDEST" ] && mount --bind "$SRCDEST" "$uniondir/srcdest"
|
||||||
|
|
||||||
|
if ! grep "PKGDEST=/pkgdest" "$uniondir/etc/makepkg.conf" >/dev/null 2>&1; then
|
||||||
|
echo "Setting PKGDEST in makepkg.conf"
|
||||||
|
echo "PKGDEST=/pkgdest" >> "$uniondir/etc/makepkg.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! grep "SRCDEST=/srcdest" "$uniondir/etc/makepkg.conf" >/dev/null 2>&1; then
|
||||||
|
echo "Setting SRCDEST in makepkg.conf"
|
||||||
|
echo "SRCDEST=/srcdest" >> "$uniondir/etc/makepkg.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
chown -R nobody "$uniondir/build"
|
||||||
|
chown -R nobody "$uniondir/srcdest"
|
||||||
|
chown -R nobody "$uniondir/pkgdest"
|
||||||
|
|
||||||
|
# Copy PKGBUILD and sources
|
||||||
source PKGBUILD
|
source PKGBUILD
|
||||||
cp PKGBUILD "$uniondir/build/"
|
cp PKGBUILD "$uniondir/build/"
|
||||||
for f in ${source[@]}; do
|
for f in ${source[@]}; do
|
||||||
if [ -f "$f" ]; then
|
basef=$(basename $f)
|
||||||
cp "$f" "$uniondir/build/"
|
if [ -f "$basef" ]; then
|
||||||
|
cp "$basef" "$uniondir/srcdest/"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ "$install" != "" -a -f "$install" ]; then
|
||||||
|
cp "$install" "$uniondir/build/"
|
||||||
|
fi
|
||||||
|
|
||||||
if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then
|
if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then
|
||||||
echo "allowing 'nobody' sudo rights in the chroot"
|
echo "allowing 'nobody' sudo rights in the chroot"
|
||||||
echo "nobody ALL=(ALL) NOPASSWD: ALL" >> $uniondir/etc/sudoers
|
echo "nobody ALL=(ALL) NOPASSWD: ALL" >> "$uniondir/etc/sudoers"
|
||||||
|
chmod 440 "$uniondir/etc/sudoers"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#This is a little gross, but this way the script is recreated every time in the
|
#This is a little gross, but this way the script is recreated every time in the
|
||||||
@@ -103,12 +180,29 @@ fi
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export LANG=$LOCALE
|
export LANG=$LOCALE
|
||||||
cd /build
|
cd /build
|
||||||
sudo -u nobody makepkg "$MAKEPKG_ARGS"
|
sudo -u nobody makepkg $MAKEPKG_ARGS || touch BUILD_FAILED
|
||||||
EOF
|
EOF
|
||||||
) > "$uniondir/chrootbuild"
|
) > "$uniondir/chrootbuild"
|
||||||
chmod +x "$uniondir/chrootbuild"
|
chmod +x "$uniondir/chrootbuild"
|
||||||
|
|
||||||
./mkarchroot -r "/chrootbuild" "$uniondir"
|
mkarchroot -r "/chrootbuild" "$uniondir"
|
||||||
|
|
||||||
# TODO move relevant files here
|
if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then
|
||||||
echo "build complete... check \$CHROOT_SHELL/build for build results"
|
echo "Build failed, check \$CHROOT_DIR/rw/build"
|
||||||
|
rm ${chrootdir}/rw/build/BUILD_FAILED
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
source ${WORKDIR}/PKGBUILD
|
||||||
|
if [ -z "$(mount | grep ${chrootdir}/union/pkgdest)" ]; then
|
||||||
|
echo "Moving completed package file to ${WORKDIR}"
|
||||||
|
mv ${chrootdir}/union/pkgdest/${pkgname}-${pkgver}-${pkgrel}-*.pkg.tar.gz ${WORKDIR}
|
||||||
|
fi
|
||||||
|
if [ -z "$(mount | grep ${chrootdir}/union/srcdest)" ]; then
|
||||||
|
echo "Moving downloaded source files to ${WORKDIR}"
|
||||||
|
mv ${chrootdir}/union/srcdest/* ${WORKDIR}
|
||||||
|
fi
|
||||||
|
rm -rf ${chrootdir}/rw/build/*
|
||||||
|
echo "Build complete"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# vim:ft=sh:ts=4:sw=4:et:
|
||||||
|
56
mkarchroot
56
mkarchroot
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; version 2 of the License.
|
# the Free Software Foundation; version 2 of the License.
|
||||||
@@ -23,15 +23,19 @@ usage ()
|
|||||||
echo " -r <app> Run 'app' within the context of the chroot"
|
echo " -r <app> Run 'app' within the context of the chroot"
|
||||||
echo " -u Update the chroot via pacman"
|
echo " -u Update the chroot via pacman"
|
||||||
echo " -f Force overwrite of files in the working-dir"
|
echo " -f Force overwrite of files in the working-dir"
|
||||||
|
echo " -C <file> location of a pacman config file"
|
||||||
|
echo " -M <file> location of a makepkg config file"
|
||||||
echo " -h This message"
|
echo " -h This message"
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts 'r:ufh' arg; do
|
while getopts 'r:ufhC:M:' arg; do
|
||||||
case "${arg}" in
|
case "${arg}" in
|
||||||
r) RUN="$OPTARG" ;;
|
r) RUN="$OPTARG" ;;
|
||||||
u) RUN="pacman -Syu" ;;
|
u) RUN="pacman -Syu" ;;
|
||||||
f) FORCE="y" ;;
|
f) FORCE="y" ;;
|
||||||
|
C) pac_conf="$OPTARG" ;;
|
||||||
|
M) makepkg_conf="$OPTARG" ;;
|
||||||
h|?) usage 0 ;;
|
h|?) usage 0 ;;
|
||||||
*) echo "invalid argument '${arg}'"; usage 1 ;;
|
*) echo "invalid argument '${arg}'"; usage 1 ;;
|
||||||
esac
|
esac
|
||||||
@@ -44,7 +48,7 @@ fi
|
|||||||
|
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
|
|
||||||
if [ "$RUN" == "" -a $# -lt 2 ]; then
|
if [ "$RUN" = "" -a $# -lt 2 ]; then
|
||||||
echo "you must specify a directory and one or more packages"
|
echo "you must specify a directory and one or more packages"
|
||||||
usage 1
|
usage 1
|
||||||
elif [ $# -lt 1 ]; then
|
elif [ $# -lt 1 ]; then
|
||||||
@@ -59,7 +63,7 @@ shift 1
|
|||||||
|
|
||||||
# {{{ functions
|
# {{{ functions
|
||||||
|
|
||||||
function chroot_mount ()
|
chroot_mount ()
|
||||||
{
|
{
|
||||||
echo "mounting sysfs : /sys"
|
echo "mounting sysfs : /sys"
|
||||||
[ -e "${working_dir}/sys" ] || mkdir "${working_dir}/sys"
|
[ -e "${working_dir}/sys" ] || mkdir "${working_dir}/sys"
|
||||||
@@ -80,7 +84,17 @@ function chroot_mount ()
|
|||||||
trap 'chroot_umount' 0 1 2 15
|
trap 'chroot_umount' 0 1 2 15
|
||||||
}
|
}
|
||||||
|
|
||||||
function chroot_umount ()
|
copy_hostconf ()
|
||||||
|
{
|
||||||
|
echo "copying mtab : /etc/mtab"
|
||||||
|
cp /etc/mtab "${working_dir}/etc/mtab"
|
||||||
|
|
||||||
|
echo "copying resolv.conf : /etc/resolv.conf"
|
||||||
|
cp /etc/resolv.conf "${working_dir}/etc/resolv.conf"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
chroot_umount ()
|
||||||
{
|
{
|
||||||
echo "cleaning up mounts"
|
echo "cleaning up mounts"
|
||||||
umount "${working_dir}/proc"
|
umount "${working_dir}/proc"
|
||||||
@@ -91,36 +105,40 @@ function chroot_umount ()
|
|||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
if [ "$RUN" != "" ]; then
|
if [ "$RUN" != "" ]; then
|
||||||
# run chroot {{{
|
# run chroot {{{
|
||||||
#Sanity check
|
#Sanity check
|
||||||
if [ ! -f "${working_dir}/.arch-chroot" ]; then
|
if [ ! -f "${working_dir}/.arch-chroot" ]; then
|
||||||
echo "error: '${working_dir}' does not appear to be a Arch chroot"
|
echo "error: '${working_dir}' does not appear to be a Arch chroot"
|
||||||
echo " please build the image using mkarchchroot"
|
echo " please build the image using mkarchroot"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chroot_mount
|
chroot_mount
|
||||||
|
copy_hostconf
|
||||||
|
|
||||||
echo "starting chroot ($RUN)"
|
echo "starting chroot ($RUN)"
|
||||||
chroot "${working_dir}" "${RUN}"
|
chroot "${working_dir}" ${RUN}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
else
|
else
|
||||||
# {{{ build chroot
|
# {{{ build chroot
|
||||||
if [ -e "${working_dir}" -a "${FORCE}" = "n" ]; then
|
if [ -e "${working_dir}" -a "${FORCE}" = "n" ]; then
|
||||||
echo "error: working dir '${working_dir}' already exists - try using -f"
|
echo "error: working dir '${working_dir}' already exists - try using -f"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${working_dir}/var/lib/pacman/"
|
mkdir -p "${working_dir}/var/lib/pacman/"
|
||||||
|
mkdir -p "${working_dir}/etc/"
|
||||||
|
|
||||||
chroot_mount
|
chroot_mount
|
||||||
|
|
||||||
pacargs="--noconfirm -v " #--noprogressbar -v
|
pacargs="--noconfirm -v " #--noprogressbar -v
|
||||||
pacargs="$pacargs --root=${working_dir}"
|
pacargs="$pacargs --root=${working_dir}"
|
||||||
# pacman takes these as relative to the given root
|
# pacman takes these as relative to the given root
|
||||||
pacargs="$pacargs --dbpath=/var/lib/pacman"
|
|
||||||
pacargs="$pacargs --cachedir=/var/cache/pacman/pkg"
|
pacargs="$pacargs --cachedir=/var/cache/pacman/pkg"
|
||||||
|
if [ "$pac_conf" != "" ]; then
|
||||||
|
pacargs="$pacargs --config=${pac_conf}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
echo "no packages to install"
|
echo "no packages to install"
|
||||||
@@ -129,7 +147,7 @@ else
|
|||||||
for i in $@; do echo -e "\t$i"; done
|
for i in $@; do echo -e "\t$i"; done
|
||||||
|
|
||||||
op="-Sy"
|
op="-Sy"
|
||||||
if [ "$FORCE" == "y" ]; then
|
if [ "$FORCE" = "y" ]; then
|
||||||
op="${op}f"
|
op="${op}f"
|
||||||
fi
|
fi
|
||||||
if ! pacman ${op} ${pacargs} $@; then
|
if ! pacman ${op} ${pacargs} $@; then
|
||||||
@@ -143,14 +161,24 @@ else
|
|||||||
ldconfig -r "${working_dir}"
|
ldconfig -r "${working_dir}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$pac_conf" != "" ]; then
|
||||||
|
echo "installing custom pacman.conf"
|
||||||
|
cp ${pac_conf} ${working_dir}/etc/pacman.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$makepkg_conf" != "" ]; then
|
||||||
|
echo "installing custom makepkg.conf"
|
||||||
|
cp ${makepkg_conf} ${working_dir}/etc/makepkg.conf
|
||||||
|
fi
|
||||||
|
|
||||||
echo "generating default locales"
|
echo "generating default locales"
|
||||||
sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen"
|
cp /etc/locale.gen "${working_dir}/etc/locale.gen"
|
||||||
chroot "${working_dir}" locale-gen
|
chroot "${working_dir}" locale-gen
|
||||||
|
|
||||||
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"
|
||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# vim:ft=sh:ts=4:sw=4:et:
|
# vim:ft=sh:ts=4:sw=4:et:
|
||||||
|
Reference in New Issue
Block a user