Merge pull request 'add some stock files, only: fstab (containing only /tmp), make.conf, hosts, host.conf. and update curl' (#33) from Ohio2/repo:master into master
Reviewed-on: #33
This commit is contained in:
commit
4a042ac9ab
8 changed files with 71 additions and 7 deletions
52
alnux/build
52
alnux/build
|
@ -1 +1,51 @@
|
|||
mkdir -p $1/dev $1/mnt $1/proc $1/run $1/sbin $1/sys $1/tmp $1/bin $1/usr/bin $1/lib
|
||||
mkdir -p -m 775\
|
||||
$1/dev \
|
||||
$1/mnt \
|
||||
$1/run \
|
||||
$1/sbin \
|
||||
$1/sys \
|
||||
$1/bin \
|
||||
$1/usr \
|
||||
$1/usr/share \
|
||||
$1/usr/share/man \
|
||||
$1/usr/share/man1 \
|
||||
$1/usr/share/man2 \
|
||||
$1/usr/share/man3 \
|
||||
$1/usr/share/man4 \
|
||||
$1/usr/share/man5 \
|
||||
$1/usr/share/man6 \
|
||||
$1/usr/share/man7 \
|
||||
$1/usr/share/man8 \
|
||||
$1/lib \
|
||||
$1/var/ \
|
||||
$1/var/cache \
|
||||
$1/var/log \
|
||||
$1/var/log/old \
|
||||
$1/var/lib \
|
||||
$1/var/lib/misc \
|
||||
$1/var/empty \
|
||||
$1/var/service \
|
||||
$1/var/spool
|
||||
|
||||
mkdir -m 555 -p \
|
||||
$1/proc \
|
||||
$1/sys
|
||||
mkdir -m 0750 -p \
|
||||
$1/root
|
||||
|
||||
mkdir -p -m 1777 \
|
||||
$1/tmp \
|
||||
$1/var/tmp \
|
||||
|
||||
ln -sf $1/usr/bin $1/bin
|
||||
ln -sf $1/usr/bin $1/sbin
|
||||
ln -sf $1/bin $1/usr/sbin
|
||||
ln -sf $1/usr/lib $1/lib
|
||||
ln -sf $1/usr/lib $1/lib64
|
||||
|
||||
ln -sf $1/lib $1/usr/lib64
|
||||
ln -sf $1/spool/mail $1/var/mail
|
||||
ln -sf $1/run $1/var/run
|
||||
ln -sf $1/run/lock $1/var/lock
|
||||
ln -sf $1/proc/self/mounts $1/etc/mtab
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="0.5"
|
||||
pkg_config_ver="0.7"
|
||||
pkg_config_name="alnux"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
||||
pkg_config_depends=""
|
||||
|
|
7
alnux/payload/etc/fstab
Normal file
7
alnux/payload/etc/fstab
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Static information about the filesystems.
|
||||
# See fstab(5) for details.
|
||||
|
||||
# <file system> <dir> <type> <options> <dump> <pass>
|
||||
|
||||
tmpfs /tmp tmpfs defaults,nosuid,nodev,size=20G 0 0
|
||||
|
1
alnux/payload/etc/host.conf
Normal file
1
alnux/payload/etc/host.conf
Normal file
|
@ -0,0 +1 @@
|
|||
multi on
|
3
alnux/payload/etc/hosts.conf
Normal file
3
alnux/payload/etc/hosts.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
127.0.0.1 localhost.localdomain localhost
|
||||
::1 localhost.localdomain localhost ip6-localhost
|
||||
|
3
alnux/payload/etc/make.conf
Normal file
3
alnux/payload/etc/make.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
# MAKEOPTS="-j6"
|
||||
# CFLAGS="-march=native -O3 -pipe -free"
|
||||
# CXXFLAGS="${CFLAGS}"
|
|
@ -1,6 +1,6 @@
|
|||
wget https://curl.se/download/curl-7.77.0.tar.bz2
|
||||
tar -xf curl-7.77.0.tar.bz2
|
||||
cd curl-7.77.0
|
||||
wget https://curl.se/download/curl-7.78.0.tar.bz2
|
||||
tar -xf curl-7.78.0.tar.bz2
|
||||
cd curl-7.78.0
|
||||
|
||||
./configure --with-openssl
|
||||
make
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="7.77.0"
|
||||
pkg_config_ver="7.78.0"
|
||||
pkg_config_name="curl"
|
||||
pkg_config_makedepends="openssl"
|
||||
pkg_config_depends="openssl"
|
||||
|
|
Loading…
Reference in a new issue