summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild29
1 files changed, 16 insertions, 13 deletions
diff --git a/build b/build
index d41f2e5..fb158de 100755
--- a/build
+++ b/build
@@ -6,33 +6,36 @@ $(PKGS): basefiles.buildstamp
.SILENT: basefiles.buildstamp
basefiles.buildstamp:
+ printf 'basefiles: Installing base files...\n'
mv src/* dest
+ printf 'basefiles: Making filesystem hierarchy...\n'
cd dest && \
- mkdir -pv bin boot dev etc/opt home lib media mnt opt proc && \
- install -dv -m 0750 root && \
- mkdir -pv sbin srv sys && \
- install -dv -m 1777 tmp var/tmp && \
- mkdir -pv usr/bin usr/include usr/lib usr/sbin \
+ mkdir -p bin boot dev etc/opt home lib media mnt opt proc && \
+ install -d -m 0750 root && \
+ mkdir -p sbin srv sys && \
+ install -d -m 1777 tmp var/tmp && \
+ mkdir -p usr/bin usr/include usr/lib usr/sbin \
usr/share/man usr/share/misc usr/src && \
- mkdir -pv usr/local/bin usr/local/include usr/local/lib usr/local/sbin \
+ mkdir -p usr/local/bin usr/local/include usr/local/lib usr/local/sbin \
usr/local/share/man usr/local/share/misc usr/local/src
- mkdir -pv usr/local/etc usr/local/games
- mkdir -pv usr/share/doc usr/share/info usr/share/locale \
+ mkdir -p usr/local/etc usr/local/games
+ mkdir -p usr/share/doc usr/share/info usr/share/locale \
usr/share/terminfo usr/share/zoneinfo && \
- mkdir -pv usr/local/share/doc usr/local/share/info \
+ mkdir -p usr/local/share/doc usr/local/share/info \
usr/local/share/locale usr/local/share/terminfo \
usr/local/share/zoneinfo && \
- mkdir -pv usr/share/man/man1 usr/share/man/man2 \
+ mkdir -p usr/share/man/man1 usr/share/man/man2 \
usr/share/man/man3 usr/share/man/man4 \
usr/share/man/man5 usr/share/man/man6 \
usr/share/man/man7 usr/share/man/man8 && \
- mkdir -pv usr/local/share/man/man1 usr/local/share/man/man2 \
+ mkdir -p usr/local/share/man/man1 usr/local/share/man/man2 \
usr/local/share/man/man3 usr/local/share/man/man4 \
usr/local/share/man/man5 usr/local/share/man/man6 \
usr/local/share/man/man7 usr/local/share/man/man8 && \
- ln -sv share/man usr/local/man && \
- mkdir -pv var/cache var/lib/misc var/local var/lock var/log var/mail \
+ ln -s share/man usr/local/man && \
+ mkdir -p var/cache var/lib/misc var/local var/lock var/log var/mail \
var/opt var/run var/spool
+ printf 'basefiles: Making service run control links...'
cd dest && \
mkdir etc/rc.d && \
ln -s rc etc/init.d/rcS && \