Introduce pkgin_sets
This tool allow you to install one or more predefined package sets. Change-Id: Id21c9e9fbd43f44f2d3b040961411428e1ae0af9
This commit is contained in:
parent
85140f57cd
commit
aea6d8c922
5 changed files with 51 additions and 2 deletions
|
@ -438,6 +438,7 @@
|
||||||
./usr/bin/ping minix-sys
|
./usr/bin/ping minix-sys
|
||||||
./usr/bin/pkgin_all minix-sys
|
./usr/bin/pkgin_all minix-sys
|
||||||
./usr/bin/pkgin_cd minix-sys
|
./usr/bin/pkgin_cd minix-sys
|
||||||
|
./usr/bin/pkgin_sets minix-sys
|
||||||
./usr/bin/playwave minix-sys
|
./usr/bin/playwave minix-sys
|
||||||
./usr/bin/postinstall minix-sys
|
./usr/bin/postinstall minix-sys
|
||||||
./usr/bin/pr minix-sys
|
./usr/bin/pr minix-sys
|
||||||
|
|
3
etc/motd
3
etc/motd
|
@ -9,7 +9,8 @@ package, and 'pkgin available' will list all available packages.
|
||||||
|
|
||||||
To install packages from the installation CD: same, but use pkgin_cd.
|
To install packages from the installation CD: same, but use pkgin_cd.
|
||||||
To switch to the online repository, do 'pkgin update' again. To install
|
To switch to the online repository, do 'pkgin update' again. To install
|
||||||
all packages, do pkgin_all.
|
all packages, do pkgin_all, or do pkgin_sets to install one or more
|
||||||
|
predefined sets.
|
||||||
|
|
||||||
MINIX 3 supports multiple virtual terminals. Just use ALT+F1, F2, F3
|
MINIX 3 supports multiple virtual terminals. Just use ALT+F1, F2, F3
|
||||||
and F4 to navigate among them.
|
and F4 to navigate among them.
|
||||||
|
|
|
@ -30,7 +30,7 @@ SUBDIR= add_route arp ash at backup btrace \
|
||||||
truncate udpstat umount \
|
truncate udpstat umount \
|
||||||
unstack update uud uue version vol \
|
unstack update uud uue version vol \
|
||||||
writeisofs fetch \
|
writeisofs fetch \
|
||||||
zdump zmodem pkgin_cd pkgin_all \
|
zdump zmodem pkgin_cd pkgin_all pkgin_sets \
|
||||||
worldstone updateboot update_bootcfg \
|
worldstone updateboot update_bootcfg \
|
||||||
atnormalize dosread fdisk loadfont \
|
atnormalize dosread fdisk loadfont \
|
||||||
autopart part partition playwave \
|
autopart part partition playwave \
|
||||||
|
|
4
minix/commands/pkgin_sets/Makefile
Normal file
4
minix/commands/pkgin_sets/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
SCRIPTS= pkgin_sets.sh
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
43
minix/commands/pkgin_sets/pkgin_sets.sh
Normal file
43
minix/commands/pkgin_sets/pkgin_sets.sh
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
CORE_TOOLS="openssh vim curl"
|
||||||
|
DEV_TOOLS="git-base bmake gmake binutils clang"
|
||||||
|
EXTRA_TOOLS="bison groff perl python"
|
||||||
|
|
||||||
|
cat <<START_EOT
|
||||||
|
This script contains 3 sets of packages, you can install any of those
|
||||||
|
sets independently, just type N when pkgin ask for confirmation to skip
|
||||||
|
a set.
|
||||||
|
|
||||||
|
The following sets are available:
|
||||||
|
|
||||||
|
1. Core tools:
|
||||||
|
${CORE_TOOLS}
|
||||||
|
|
||||||
|
2. Dev tools:
|
||||||
|
${DEV_TOOLS}
|
||||||
|
|
||||||
|
3. Extras:
|
||||||
|
${EXTRA_TOOLS}
|
||||||
|
|
||||||
|
START_EOT
|
||||||
|
|
||||||
|
echo "Installing core tools"
|
||||||
|
echo "====================="
|
||||||
|
echo
|
||||||
|
|
||||||
|
pkgin install ${CORE_TOOLS}
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Installing default development tools"
|
||||||
|
echo "===================================="
|
||||||
|
echo
|
||||||
|
|
||||||
|
pkgin install ${DEV_TOOLS}
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Installing extras"
|
||||||
|
echo "================="
|
||||||
|
echo
|
||||||
|
|
||||||
|
pkgin install ${EXTRA_TOOLS}
|
Loading…
Reference in a new issue