From 2ecec60001a1b62528919d26ed2c2312a18f5d2c Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Wed, 23 Nov 2022 23:14:38 +0900 Subject: [PATCH 1/3] Add systemd-timesyncd --- os-brainux/setup_brainux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-brainux/setup_brainux.sh b/os-brainux/setup_brainux.sh index 35e3677..e7d23b4 100755 --- a/os-brainux/setup_brainux.sh +++ b/os-brainux/setup_brainux.sh @@ -85,7 +85,7 @@ DEBIAN_FRONTEND=noninteractive \ weston xwayland \ bash tmux vim htop \ midori pcmanfm lxterminal xterm gnome-terminal fbterm uim-fep uim-anthy fonts-noto-cjk \ - dbus udev alsa-utils usbutils iw fake-hwclock\ + dbus udev alsa-utils usbutils iw fake-hwclock systemd-timesyncd\ build-essential flex bison pkg-config autotools-dev libtool autoconf automake device-tree-compiler \ python3 python3-dev python3-setuptools python3-wheel python3-pip python3-smbus \ resolvconf net-tools ssh openssh-client avahi-daemon wget git \ From f7a20f61b7cd92aba2099b09b38dbccd16b0b1bc Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Wed, 23 Nov 2022 23:20:09 +0900 Subject: [PATCH 2/3] Revert back issue and os-release --- os-brainux/override.sh | 3 --- os-brainux/override/etc/issue | 2 -- os-brainux/override/etc/issue.net | 1 - os-brainux/override/usr/lib/os-release | 9 --------- 4 files changed, 15 deletions(-) delete mode 100644 os-brainux/override/etc/issue delete mode 100644 os-brainux/override/etc/issue.net delete mode 100644 os-brainux/override/usr/lib/os-release diff --git a/os-brainux/override.sh b/os-brainux/override.sh index 402d19f..e28c617 100755 --- a/os-brainux/override.sh +++ b/os-brainux/override.sh @@ -5,9 +5,6 @@ set -uex -o pipefail SRC=$1 DST=$2 -install -g root -o root -m 0644 $SRC/usr/lib/os-release $DST/usr/lib/os-release -install -g root -o root -m 0644 $SRC/etc/issue $DST/etc/issue -install -g root -o root -m 0644 $SRC/etc/issue.net $DST/etc/issue.net install -g root -o root -m 0644 $SRC/etc/motd $DST/etc/motd install -g root -o root -m 0440 $SRC/etc/sudoers $DST/etc/sudoers diff --git a/os-brainux/override/etc/issue b/os-brainux/override/etc/issue deleted file mode 100644 index 65852ac..0000000 --- a/os-brainux/override/etc/issue +++ /dev/null @@ -1,2 +0,0 @@ -Brainux GNU/Linux 10 \n \l - diff --git a/os-brainux/override/etc/issue.net b/os-brainux/override/etc/issue.net deleted file mode 100644 index ef11720..0000000 --- a/os-brainux/override/etc/issue.net +++ /dev/null @@ -1 +0,0 @@ -Brainux GNU/Linux 10 diff --git a/os-brainux/override/usr/lib/os-release b/os-brainux/override/usr/lib/os-release deleted file mode 100644 index ec1f499..0000000 --- a/os-brainux/override/usr/lib/os-release +++ /dev/null @@ -1,9 +0,0 @@ -PRETTY_NAME="Brainux GNU/Linux 11 (bullseye)" -NAME="Brainux GNU/Linux" -VERSION_ID="11" -VERSION="11 (bullseye)" -VERSION_CODENAME=bullseye -ID=debian -HOME_URL="https://github.com/brain-hackers/README" -SUPPORT_URL="https://github.com/brain-hackers/buildbrain" -BUG_REPORT_URL="https://github.com/brain-hackers/buildbrain" From a4350f303c505dd88d749ded74ce869eaf88d6f0 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Wed, 23 Nov 2022 23:28:22 +0900 Subject: [PATCH 3/3] Fix sudoers --- os-brainux/override/etc/sudoers | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/os-brainux/override/etc/sudoers b/os-brainux/override/etc/sudoers index 3f5ae46..5bcc505 100644 --- a/os-brainux/override/etc/sudoers +++ b/os-brainux/override/etc/sudoers @@ -18,11 +18,10 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b # User privilege specification root ALL=(ALL:ALL) ALL -takumi ALL=(ALL:ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL -# See sudoers(5) for more information on "#include" directives: +# See sudoers(5) for more information on "@include" directives: -#includedir /etc/sudoers.d +@includedir /etc/sudoers.d