From: Lionel Sambuc Date: Wed, 6 Aug 2014 15:29:21 +0000 (+0200) Subject: Introduce pkgin_sets X-Git-Tag: v3.3.0~73 X-Git-Url: http://zhaoyanbai.com/repos/cppcheck.log?a=commitdiff_plain;h=aea6d8c9224994204340d02732bae38e5f5546b2;p=minix.git Introduce pkgin_sets This tool allow you to install one or more predefined package sets. Change-Id: Id21c9e9fbd43f44f2d3b040961411428e1ae0af9 --- diff --git a/distrib/sets/lists/minix/mi b/distrib/sets/lists/minix/mi index 1d3d5912b..a7eb0fc0a 100644 --- a/distrib/sets/lists/minix/mi +++ b/distrib/sets/lists/minix/mi @@ -438,6 +438,7 @@ ./usr/bin/ping minix-sys ./usr/bin/pkgin_all minix-sys ./usr/bin/pkgin_cd minix-sys +./usr/bin/pkgin_sets minix-sys ./usr/bin/playwave minix-sys ./usr/bin/postinstall minix-sys ./usr/bin/pr minix-sys diff --git a/etc/motd b/etc/motd index e6433676b..7e5020c00 100755 --- a/etc/motd +++ b/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 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 and F4 to navigate among them. diff --git a/minix/commands/Makefile b/minix/commands/Makefile index 83a732241..11b275914 100644 --- a/minix/commands/Makefile +++ b/minix/commands/Makefile @@ -30,7 +30,7 @@ SUBDIR= add_route arp ash at backup btrace \ truncate udpstat umount \ unstack update uud uue version vol \ writeisofs fetch \ - zdump zmodem pkgin_cd pkgin_all \ + zdump zmodem pkgin_cd pkgin_all pkgin_sets \ worldstone updateboot update_bootcfg \ atnormalize dosread fdisk loadfont \ autopart part partition playwave \ diff --git a/minix/commands/pkgin_sets/Makefile b/minix/commands/pkgin_sets/Makefile new file mode 100644 index 000000000..71c18ecf9 --- /dev/null +++ b/minix/commands/pkgin_sets/Makefile @@ -0,0 +1,4 @@ +SCRIPTS= pkgin_sets.sh +MAN= + +.include diff --git a/minix/commands/pkgin_sets/pkgin_sets.sh b/minix/commands/pkgin_sets/pkgin_sets.sh new file mode 100644 index 000000000..f058f2a43 --- /dev/null +++ b/minix/commands/pkgin_sets/pkgin_sets.sh @@ -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 <