summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/base/PKGBUILD1
-rw-r--r--arch/init/PKGBUILD24
-rw-r--r--arch/init/locale.conf1
-rw-r--r--arch/init/locale.gen1
-rw-r--r--arch/init/my-init.install9
-rw-r--r--arch/init/override.conf4
-rw-r--r--arch/init/sudoers5
-rw-r--r--arch/init/vconsole.conf1
-rw-r--r--arch/local/PKGBUILD2
9 files changed, 47 insertions, 1 deletions
diff --git a/arch/base/PKGBUILD b/arch/base/PKGBUILD
index 8388b95..1cedd75 100644
--- a/arch/base/PKGBUILD
+++ b/arch/base/PKGBUILD
@@ -63,6 +63,7 @@ depends+=(
unzip
vim-spell-fr
vifm
+ w3m
weechat
wget
zsh
diff --git a/arch/init/PKGBUILD b/arch/init/PKGBUILD
new file mode 100644
index 0000000..404589e
--- /dev/null
+++ b/arch/init/PKGBUILD
@@ -0,0 +1,24 @@
+# makepkg -sf
+# sudo pacman -Uv --overwrite ...
+
+pkgname=my-init
+pkgver=0
+pkgrel=1
+arch=(any)
+
+source=('vconsole.conf'
+ 'sudoers'
+ 'locale.gen'
+ 'locale.conf'
+ 'override.conf')
+
+md5sums=(SKIP SKIP SKIP SKIP SKIP)
+install=my-init.install
+
+package() {
+ install -Dm 0644 override.conf "$pkgdir/etc/systemd/system/getty@tty1.service.d/override.conf"
+ install -Dm 0644 vconsole.conf "$pkgdir/etc/vconsole.conf"
+ install -Dm 0644 locale.gen "$pkgdir/etc/locale.gen"
+ install -Dm 0644 locale.conf "$pkgdir/etc/locale.conf"
+ install -Dm 0440 sudoers "$pkgdir/etc/sudoers"
+}
diff --git a/arch/init/locale.conf b/arch/init/locale.conf
new file mode 100644
index 0000000..01ec548
--- /dev/null
+++ b/arch/init/locale.conf
@@ -0,0 +1 @@
+LANG=en_US.UTF-8
diff --git a/arch/init/locale.gen b/arch/init/locale.gen
new file mode 100644
index 0000000..a66d814
--- /dev/null
+++ b/arch/init/locale.gen
@@ -0,0 +1 @@
+en_US.UTF-8 UTF-8
diff --git a/arch/init/my-init.install b/arch/init/my-init.install
new file mode 100644
index 0000000..d55096c
--- /dev/null
+++ b/arch/init/my-init.install
@@ -0,0 +1,9 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ echo "Updating locale..."
+ locale-gen
+}
+
diff --git a/arch/init/override.conf b/arch/init/override.conf
new file mode 100644
index 0000000..b59974f
--- /dev/null
+++ b/arch/init/override.conf
@@ -0,0 +1,4 @@
+[Service]
+ExecStart=
+ExecStart=-/usr/bin/agetty --autologin urbain --noclear %I $TERM
+Type=simple
diff --git a/arch/init/sudoers b/arch/init/sudoers
new file mode 100644
index 0000000..eb3ac7e
--- /dev/null
+++ b/arch/init/sudoers
@@ -0,0 +1,5 @@
+## User privilege specification
+root ALL=(ALL) ALL
+
+## Uncomment to allow members of group wheel to execute any command
+%wheel ALL=(ALL) ALL
diff --git a/arch/init/vconsole.conf b/arch/init/vconsole.conf
new file mode 100644
index 0000000..ca887ec
--- /dev/null
+++ b/arch/init/vconsole.conf
@@ -0,0 +1 @@
+KEYMAP=dvorak-programmer
diff --git a/arch/local/PKGBUILD b/arch/local/PKGBUILD
index 5c6055b..8659f32 100644
--- a/arch/local/PKGBUILD
+++ b/arch/local/PKGBUILD
@@ -1,5 +1,5 @@
# yaourt -P && makepkg -i
-pkgname=local-packages
+pkgname=my-local
pkgver=0
pkgrel=1
arch=(any)