mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
zero-system: a script to make system's mine
This commit is contained in:
parent
55a9110144
commit
fb7a0b905d
1 changed files with 11 additions and 0 deletions
11
scripts/zero-system
Executable file
11
scripts/zero-system
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
if ! grep -q CPU_FLAGS_X86 /etc/portage/make.conf; then
|
||||
cpuid2cpuflags | sed -e 's/: /="/' -e 's/$/"/' >> /etc/portage/make.conf
|
||||
fi
|
||||
PROFILE=$(eselect profile show | grep pentoo | awk '{print $1}')
|
||||
unlink /etc/portage/make.profile
|
||||
mkdir /etc/portage/make.profile
|
||||
printf "6\n" > /etc/portage/make.profile/eapi
|
||||
printf "${PROFILE}\n" > /etc/portage/make.profile/parent
|
||||
printf "pentoo:pentoo/zero-system\n" >> /etc/portage/make.profile/parent
|
||||
printf "pentoo/zero-system\n" >>/var/lib/portage/world
|
||||
Loading…
Reference in a new issue