add some stock files, only: fstab (containing only /tmp), make.conf, hosts, host.conf. and update curl #33

Merged
hippoz merged 3 commits from Ohio2/repo:master into master 2021-07-23 16:17:44 +03:00
8 changed files with 71 additions and 7 deletions
Showing only changes of commit bf7a34f02a - Show all commits

View file

@ -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

View file

@ -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
View 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

View file

@ -0,0 +1 @@
multi on

View file

@ -0,0 +1,3 @@
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost ip6-localhost

View file

@ -0,0 +1,3 @@
# MAKEOPTS="-j6"
# CFLAGS="-march=native -O3 -pipe -free"
# CXXFLAGS="${CFLAGS}"

View file

@ -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

View file

@ -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"