Compare commits

...

11 commits

Author SHA1 Message Date
afa0d66f27 Merge pull request 'Fix clang, openrc' (#14) from Ohio2/repo:master into master
Reviewed-on: #14
2021-07-09 15:26:52 +01:00
Ohio2
26a846831d hippoz told to not change default init system so reverted changes on that 2021-07-09 15:26:45 +02:00
Ohio2
6ced0cbc6a Merge https://git.hippoz.xyz/Ohio2/repo
clang
2021-07-09 15:18:01 +02:00
Ohio2
b510669bf9 Merge branch 'master' of https://git.hippoz.xyz/alnux/repo
clang
 Wiersze zaczynające się od „#” będą ignorowane, a pusty komunikat
2021-07-09 15:16:24 +02:00
Ohio2
c9c731721f clang fix 2021-07-09 15:16:10 +02:00
cc4e68c90b Merge branch 'master' into master 2021-07-09 13:32:30 +01:00
Ohio2
2971d07a93 lets try using runit first. 2021-07-09 14:11:57 +02:00
Ohio2
2bbff8ca8d 2nd fix for openrc 2021-07-09 08:58:07 +02:00
Ohio2
903ec564bf fix for openrc 2021-07-09 08:51:20 +02:00
Ohio2
8798982805 don't use cummingbird as it does not support ramdisk, instead use openrc wich is kinda also lighter than cummingbird 2021-07-09 08:37:56 +02:00
Ohio2
a6c55418be fix clang 2021-07-09 07:22:40 +02:00
4 changed files with 16 additions and 6 deletions

View file

@ -1,8 +1,7 @@
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz untar -xf clang-12.0.1.src.tar.xz
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04 cd clang-12.0.1.src
cd OBJ_ROOT cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make make
make install DESTDIR="$1" make install DESTDIR="$1"

6
openrc/build Executable file
View file

@ -0,0 +1,6 @@
wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz
tar -xf openrc-0.43.3.tar.gz
cd openrc-0.43.3
make
make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1"
cat tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=20G,mode=1777 0 0 > "$1"/etc/fstab

5
openrc/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="0.43.3"
pkg_config_name="openrc"
pkg_config_makedepends=""
pkg_config_depends="make"