From 5d4532f601cb9225bbc911a13bedbb48c0499686 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Nov 2021 22:52:53 -0600 Subject: use dash as default shell --- gentoox_build.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gentoox_build.sh') diff --git a/gentoox_build.sh b/gentoox_build.sh index f88f48a..d56f14b 100755 --- a/gentoox_build.sh +++ b/gentoox_build.sh @@ -59,6 +59,7 @@ if [[ ! -f 'image/etc/gentoo-release' ]]; then mkdir -p etc/portage/patches cp -r ../../patches/* etc/portage/patches/ cp ../../60-ioschedulers.rules etc/udev/rules.d/ + cp ../../my.start etc/local.d/ mkdir -p etc/portage/patches/www-client/firefox wget --quiet -P etc/portage/patches/www-client/firefox/ 'https://raw.githubusercontent.com/bmwiedemann/openSUSE/master/packages/m/MozillaFirefox/firefox-kde.patch' @@ -378,7 +379,7 @@ else echo "kernel already compiled, skipping..."; fi if [[ ! -z $build_weston ]] && [[ ! -f 'tmp/gentoox-weston-done' ]]; then cat <> /etc/portage/package.unmask/wanted echo 'media-gfx/gimp nolto.conf' >> /etc/portage/package.env -emerge -v gimp avidemux blender tuxkart keepassxc libreoffice firefox thunderbird mpv audacious-plugins audacious net-irc/hexchat smartmontools libisoburn phoronix-test-suite virtualbox-guest-additions pfl bash-completion dev-python/pip virtualenv app-misc/jq youtube-dl +emerge -v gimp avidemux blender tuxkart keepassxc libreoffice firefox thunderbird mpv audacious-plugins audacious net-irc/hexchat smartmontools libisoburn phoronix-test-suite virtualbox-guest-additions pfl bash-completion dev-python/pip virtualenv app-misc/jq youtube-dl app-shells/dash + touch /tmp/gentoox-extra-done HEREDOC exit 0 @@ -757,7 +759,8 @@ eselect fontconfig enable 10-sub-pixel-rgb.conf eselect fontconfig enable 11-lcdfilter-default.conf emerge -v ja-ipafonts source-han-sans fira-code fira-sans -echo 'kernel.sysrq=1' >> /etc/sysctl.d/local.conf +echo 'kernel.sysrq=1 +vm.swappiness=10' >> /etc/sysctl.d/local.conf usermod -aG users,portage,lp,adm,audio,cdrom,disk,input,usb,video,cron,tty,plugdev $username @@ -794,6 +797,10 @@ exec weston-launch' > weston-launch.sh chmod +x weston-launch.sh fi +cd /bin +ln -sf dash sh +usermod -s /bin/dash root + touch /tmp/gentoox-user-configured HEREDOC exit 0 -- cgit v1.2.3