ports

recipes for building multiple softwares
git clone git://z3bra.org/ports
Log | Files | Refs

commit 3d73576d1b6b08ee29d74695b4fda6a912ec8ee1
parent a682dc4d655306c245f4c90cd29bde6919ff7ba9
Author: z3bra <willyatmailoodotorg>
Date:   Tue Sep 22 21:51:50 2015

fs: Fix here-documents

Diffstat:
 fs/makeme | 82 ++++++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

diff --git a/fs/makeme b/fs/makeme @@ -13,45 +13,45 @@ package() { mknod -m 600 $WORKDIR/$name/dev/console c 5 1 mknod -m 666 $WORKDIR/$name/dev/null c 1 3 - cat <<EOF> $WORKDIR/$name/etc/group - root:!:0:root - bin:!:1:root,bin,daemon - daemon:!:2:root,bin,daemon - sys:!:3:root,bin - adm:!:4:root,daemon - tty:!:5: - disk:!:6:root - cdrom:!:7:root - video:!:8:root - audio:!:9:root - nogroup:!:65534: - EOF - - cat <<EOF> $WORKDIR/$name/etc/passwd - root:x:0:0:root:/root:/bin/sh - bin:*:1:1:bin:/bin:/bin/false - daemon:*:2:2:daemon:/sbin:/bin/false - nobody:*:65534:65534:nobody:/nonexistent:/bin/false - EOF - - cat <<EOF> $WORKDIR/$name/etc/shells - /bin/sh - /bin/mksh - EOF - - cat <<EOF> $WORKDIR/$name/etc/profile - PATH=/bin:/sbin - MANPATH=/share/man - - export PATH MANPATH - - umask 022 - EOF - - cat <<EOF> $WORKDIR/$name/etc/fstab - tmp /tmp tmpfs defaults 0 0 - tmp /var/run tmpfs defaults 0 0 - shm /dev/shm tmpfs rw,nosuid,nodev 0 0 - devpts /dev/pts devpts gid=5,mode=620 0 0 - EOF +cat <<EOF> $WORKDIR/$name/etc/group +root:!:0:root +bin:!:1:root,bin,daemon +daemon:!:2:root,bin,daemon +sys:!:3:root,bin +adm:!:4:root,daemon +tty:!:5: +disk:!:6:root +cdrom:!:7:root +video:!:8:root +audio:!:9:root +nogroup:!:65534: +EOF + +cat <<EOF> $WORKDIR/$name/etc/passwd +root:x:0:0:root:/root:/bin/sh +bin:*:1:1:bin:/bin:/bin/false +daemon:*:2:2:daemon:/sbin:/bin/false +nobody:*:65534:65534:nobody:/nonexistent:/bin/false +EOF + +cat <<EOF> $WORKDIR/$name/etc/shells +/bin/sh +/bin/mksh +EOF + +cat <<EOF> $WORKDIR/$name/etc/profile +PATH=/bin:/sbin +MANPATH=/share/man + +export PATH MANPATH + +umask 022 +EOF + +cat <<EOF> $WORKDIR/$name/etc/fstab +tmp /tmp tmpfs defaults 0 0 +tmp /var/run tmpfs defaults 0 0 +shm /dev/shm tmpfs rw,nosuid,nodev 0 0 +devpts /dev/pts devpts gid=5,mode=620 0 0 +EOF }