summaryrefslogtreecommitdiff
path: root/cs/Gentoo/index.md
diff options
context:
space:
mode:
authormac <ra@afu.re>2025-10-28 16:16:36 -0400
committermac <ra@afu.re>2025-10-28 16:16:36 -0400
commit72e07c2ef26d9210ac7a07ff48bdaf38fe86472c (patch)
tree1883511265059c3498d637f1ceb940dbe339eab4 /cs/Gentoo/index.md
parent15b1da3e3f7a9ff6b4e904cac045d90bcd84916f (diff)
Auto from mac asahi - Tue 28 Oct 2025 04:16:36 PM EDT
Diffstat (limited to 'cs/Gentoo/index.md')
-rw-r--r--cs/Gentoo/index.md54
1 files changed, 0 insertions, 54 deletions
diff --git a/cs/Gentoo/index.md b/cs/Gentoo/index.md
index 4a133a9..95669c7 100644
--- a/cs/Gentoo/index.md
+++ b/cs/Gentoo/index.md
@@ -1,73 +1,19 @@
[[Asahi - Gentoo - Wayland - Suckless Setup]]
-
-
-
-# Xorg
[[Installation]]
[[Userland]]
-
-
-
-
[[Custom Ebuild Repo]]
-
[[gentoo-kernel-bin]]
-what is /var/cache/distfiles/...
-eclean-dist -dp
-
-
-# fix mpv from segfault
-- For information, I will repeat here the workaround, it may help for others :
-- emerge app-portage/cpuid2cpuflags
-- launch cpuid2cpuflags
-- create a var CPU_FLAGS_X86 containing the output of this command in your /etc/portage/make.conf
-- re emerge media-video/ffmpeg
-
-
-zram for swap
-
-
-
-# bashrc portage - run post hook
-
-mkdir -p /etc/portage/postinst.d/
-chmod 755 /etc/portage/postinst.d/
-
-vim /etc/portage/bashrc
-#!/bin/bash
-POSTINST_BASE="/etc/portage/postinst.d/"
-post_pkg_postinst()
-{
- local POSTINST_SCRIPT
- if [[ "x${CATEGORY}" == "xvirtual" ]']
- then
- return 0
- fi
- for POSTINST_SCRIPT in ${POSTINST_BASE%/}/{all,${CATEGORY}/{${P}-${PR},${P},${PN}}{:$SLOT},}}
- do
- if [[ -x "${POSTINST_SCRIPT}" ]']
- then
- einfo "Running post-installation script ${POSTINST_SCRIPT} ..."
- "${POSTINST_SCRIPT}"
- fi
- done
-}
-then put script in
-/etc/portage/postinst.d/sys-kernel/gentoo-kernel-bin
-(with a shebang and make it executable)
-chmod +x
-script will be run as root - set -eu on top script ???