diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 12:58:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 12:58:33 +0100 |
commit | 2a581fe1a54a5d2c50ed50bacd26e61aae3f6076 (patch) | |
tree | 3161b73a6b7fe1c9379580a169680de8c2e166f8 /sys-apps/baselayout/files | |
parent | bf7b5813ec462f7b4224a86f44c737730a47e081 (diff) |
sys-apps/baselayout : version bump
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r-- | sys-apps/baselayout/files/baselayout-redcore.patch | 34 | ||||
-rw-r--r-- | sys-apps/baselayout/files/esynccfg | 1 | ||||
-rw-r--r-- | sys-apps/baselayout/files/ioschedcfg | 6 |
3 files changed, 35 insertions, 6 deletions
diff --git a/sys-apps/baselayout/files/baselayout-redcore.patch b/sys-apps/baselayout/files/baselayout-redcore.patch index be6129bf..ef24e25a 100644 --- a/sys-apps/baselayout/files/baselayout-redcore.patch +++ b/sys-apps/baselayout/files/baselayout-redcore.patch @@ -1,13 +1,33 @@ -diff -Nur a/etc.Linux/os-release b/etc.Linux/os-release ---- a/etc.Linux/os-release 2017-06-09 19:37:50.000000000 +0100 -+++ b/etc.Linux/os-release 2018-01-12 08:35:13.951741903 +0000 -@@ -1,7 +1,7 @@ +diff -Nur a/Makefile b/Makefile +--- a/Makefile 2021-09-27 22:48:05.000000000 +0100 ++++ b/Makefile 2022-09-21 12:52:08.248406011 +0100 +@@ -63,12 +63,11 @@ + install: + $(INSTALL_DIR) $(DESTDIR)/etc + cp -pPR etc/* etc.$(OS)/* $(DESTDIR)/etc/ +- echo "Gentoo Base System release ${PV}" > ${DESTDIR}/etc/gentoo-release + $(INSTALL_DIR) $(DESTDIR)/lib + cp -pPR lib.$(OS)/* $(DESTDIR)/lib/ + $(INSTALL_DIR) $(DESTDIR)/usr/lib + ln -snf ../usr/lib/os-release ${DESTDIR}/etc/os-release +- ./make_os_release ${OS} ${PV} > $(DESTDIR)/usr/lib/os-release ++ ./make_os_release ${OS} rolling > $(DESTDIR)/usr/lib/os-release + $(INSTALL_DIR) $(DESTDIR)/usr/share/baselayout + cp -pPR share.$(OS)/* $(DESTDIR)/usr/share/baselayout/ + +diff -Nur a/make_os_release b/make_os_release +--- a/make_os_release 2021-09-27 22:48:05.000000000 +0100 ++++ b/make_os_release 2022-09-21 12:49:21.760390518 +0100 +@@ -4,12 +4,12 @@ + exit 1 + fi + cat <<EOF -NAME=Gentoo -ID=gentoo --PRETTY_NAME="Gentoo/Linux" +-PRETTY_NAME="Gentoo ${1}" +NAME=Redcore +ID=redcore -+PRETTY_NAME="Redcore/Linux" ++PRETTY_NAME="Redcore ${1} Hardened" ANSI_COLOR="1;32" -HOME_URL="https://www.gentoo.org/" -SUPPORT_URL="https://www.gentoo.org/support/" @@ -15,3 +35,5 @@ diff -Nur a/etc.Linux/os-release b/etc.Linux/os-release +HOME_URL="https://redcorelinux.org/" +SUPPORT_URL="https://wiki.redcorelinux.org/" +BUG_REPORT_URL="https://bugs.redcorelinux.org/" + VERSION_ID="${2}" + EOF diff --git a/sys-apps/baselayout/files/esynccfg b/sys-apps/baselayout/files/esynccfg new file mode 100644 index 00000000..90626a17 --- /dev/null +++ b/sys-apps/baselayout/files/esynccfg @@ -0,0 +1 @@ +* hard nofile 1048576 diff --git a/sys-apps/baselayout/files/ioschedcfg b/sys-apps/baselayout/files/ioschedcfg new file mode 100644 index 00000000..9047bd4a --- /dev/null +++ b/sys-apps/baselayout/files/ioschedcfg @@ -0,0 +1,6 @@ +# set mq-deadline scheduler for non-rotating disks (SATA SSDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" +# set bfq scheduler for rotating disks (SATA HDDs) +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" +# set mq-deadline scheduler for non-rotating nvme-disks (NVME SSDs) +ACTION=="add|change", KERNEL=="nvme[0-9]n1", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" |