diff options
| author | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
|---|---|---|
| committer | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
| commit | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (patch) | |
| tree | 12796519575126d60e06d02e9eab68856229cf58 /repos/core/baselayout/abuild | |
| parent | b5a8a6c29e40f786ceb808c0b95f01c4251111d1 (diff) | |
| download | alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.tar.gz alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.zip | |
clang repos updated
Diffstat (limited to 'repos/core/baselayout/abuild')
| -rwxr-xr-x | repos/core/baselayout/abuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/repos/core/baselayout/abuild b/repos/core/baselayout/abuild deleted file mode 100755 index da10179f..00000000 --- a/repos/core/baselayout/abuild +++ /dev/null @@ -1,72 +0,0 @@ -name=baselayout -version=1 -release=1 -source="fstab - group - hostname - hosts - issue - os-release - passwd - resolv.conf - shells - profile" - -build() { - cd $SRC - - # root dirs - for d in proc sys run dev bin boot etc/opt home lib mnt \ - opt sbin srv var; do - mkdir -p $PKG/$d - done - install -d -m 0750 $PKG/root - install -d -m 1777 $PKG/tmp $PKG/var/tmp - - # /usr and /usr/local dirs - for d in bin include lib sbin src; do - mkdir -p $PKG/usr/$d - mkdir -p $PKG/usr/local/$d - done - - # man page dirs - for d in 1 2 3 4 5 6 7 8; do - mkdir -p $PKG/usr/share/man/man$d - mkdir -p $PKG/usr/local/share/man/man$d - done - - # /var dirs - for d in log spool/mail opt cache lib/misc local; do - mkdir -p $PKG/var/$d - done - - ln -s ../run $PKG/var/run - #ln -s ../run/lock $PKG/var/lock - install -d $PKG/var/lock - - ln -s ../proc/self/mounts $PKG/etc/mtab - - # log files - for f in btmp lastlog faillog wtmp; do - touch $PKG/var/log/$f - done - chgrp utmp $PKG/var/log/lastlog - chmod 664 $PKG/var/log/lastlog - chmod 600 $PKG/var/log/btmp - - install -m644 passwd $PKG/etc - install -m644 group $PKG/etc - install -m644 resolv.conf $PKG/etc - install -m644 hosts $PKG/etc - install -m644 hostname $PKG/etc - install -m644 shells $PKG/etc - install -m644 fstab $PKG/etc - - install -dm0755 $PKG/etc/profile.d - - install -d $PKG/etc/skel - install -m644 issue $PKG/etc - install -m644 profile $PKG/etc - - cat os-release > $PKG/etc/os-release -} |