forked from alnux/repo
Merge pull request 'Fix clang, openrc' (#14) from Ohio2/repo:master into master
Reviewed-on: alnux/repo#14
This commit is contained in:
commit
afa0d66f27
4 changed files with 16 additions and 6 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
set timeout=15
|
set timeout=15
|
||||||
set default=0
|
set default=0
|
||||||
|
|
||||||
menuentry "Alnux" {
|
menuentry "Alnux" {
|
||||||
# you will probably want to change the root below...
|
# you will probably want to change the root below...
|
||||||
linux /boot/bzImage noapic root=/dev/sda1 init=/usr/bin/hummingbird
|
linux /boot/bzImage noapic root=/dev/sda1 init=/usr/bin/hummingbird
|
||||||
|
|
6
openrc/build
Executable file
6
openrc/build
Executable 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
5
openrc/package
Executable 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"
|
Loading…
Reference in a new issue