Add releng scripts to the repository.
This commit is contained in:
parent
bd95b08675
commit
498f935c11
13 changed files with 1142 additions and 0 deletions
20
scripts/sudo_snapshot
Executable file
20
scripts/sudo_snapshot
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
usage() {
|
||||
echo "Usage: $(basename ${0}) <version>"
|
||||
}
|
||||
if [ -z "${1}" ]
|
||||
then
|
||||
usage
|
||||
else
|
||||
catalyst -c /etc/catalyst/snapshot.conf -s ${1}
|
||||
for i in amd64 x86
|
||||
do
|
||||
for j in default dev hardened uclibc
|
||||
do
|
||||
cd /release/buildroot/${i}-${j}/snapshots
|
||||
rm -f portage-${1}.tar.bz2
|
||||
ln -sf /release/snapshots/portage-${1}.tar.bz2 \
|
||||
portage-${1}.tar.bz2
|
||||
done
|
||||
done
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue