First working DustArch.iso

This commit is contained in:
David Holland 2019-11-06 00:42:15 +01:00
parent d50043eb6f
commit 001b31f8ea
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
14 changed files with 82 additions and 45 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
*.pdf
*.html
*.xml
livecd/out
livecd/work

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "livecd/airootfs/etc/skel"]
path = livecd/airootfs/etc/skel
url = git@git.dustvoice.de:DustVoice/dotfiles.git

View File

@ -22,7 +22,7 @@ Even when you do use a standard keyboard layout, there could still be some custo
In my case, I'll want the `Caps_Lock` key mapped to `Escape` for the american keyboard layouts (both the standard and the international version) as well as for the german layout with no dead keys (` won't require two keypresses).
All keymaps are stored under `/usr/shar/kbd/keymaps` and in my case the default keyboard map used for the german language with no dead keys resides under `/usr/share/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz` and the US layouts are to be found under `/usr/share/kbd/keymaps/i386/qwerty/us.map.gz` _(normal US version)_ and `/usr/share/kbd/keymaps/i386/qwerty/us-acentos.map.gz` _(US international layout)_ respectively.
All keymaps are stored under `/usr/share/kbd/keymaps` and in my case the default keyboard map used for the german language with no dead keys resides under `/usr/share/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz` and the US layouts are to be found under `/usr/share/kbd/keymaps/i386/qwerty/us.map.gz` _(normal US version)_ and `/usr/share/kbd/keymaps/i386/qwerty/us-acentos.map.gz` _(US international layout)_ respectively.
Now we switch to the `/tmp` directory and create our new keymap(s).
@ -128,7 +128,7 @@ Now you are able to load the keymap and set it as the default one to use
[source, console]
----
root@archiso ~ # loadkeys custom-us
root@archiso ~ # locatectl set-keymap --noconvert custom-us
root@archiso ~ # localectl set-keymap --no-convert custom-us
----
=== Updating the system
@ -1035,9 +1035,7 @@ I'm using `pass` as my password manager. To use it I have to do
dustvoice@DustArch ~
$ sudo pacman -S pass
dustvoice@DustArch ~
$ git clone git@git.dustvoice.de:DustVoice/pass.git
dustvoice@DustArch ~
$ mv pass .password-store
$ git clone git@git.dustvoice.de:DustVoice/pass.git .password-store
----
==== Web browser
@ -1166,6 +1164,7 @@ pass
pcsclite
ppp
pptpclient
python-pip
python3
refind-efi
reiserfsprogs

View File

@ -1 +1 @@
archiso
DustArch

View File

@ -0,0 +1,6 @@
# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1 localhost .
::1 localhost .
127.0.1.1 DustArch.localhost DustArch

@ -0,0 +1 @@
Subproject commit a24f17c88a1ac9ea043d724a13c1e6a1c7851251

View File

@ -1,34 +0,0 @@
#!/bin/bash
script_cmdline ()
{
local param
for param in $(< /proc/cmdline); do
case "${param}" in
script=*) echo "${param#*=}" ; return 0 ;;
esac
done
}
automated_script ()
{
local script rt
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
if [[ "${script}" =~ ^http:// || "${script}" =~ ^ftp:// ]]; then
wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null
rt=$?
else
cp "${script}" /tmp/startup_script
rt=$?
fi
if [[ ${rt} -eq 0 ]]; then
chmod +x /tmp/startup_script
/tmp/startup_script
fi
fi
}
if [[ $(tty) == "/dev/tty1" ]]; then
automated_script
fi

View File

@ -1 +0,0 @@
~/.automated_script.sh

View File

@ -3,11 +3,19 @@
set -e -u
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
sed -i 's/#\(de_DE\.UTF-8\)/\1/' /etc/locale.gen
locale-gen
localectl set-locale LANG="en_US.UTF-8"
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
hwclock --systohc --utc
timedatectl set-timezone Europe/Berlin
timedatectl set-ntp true
usermod -s /usr/bin/zsh root
loadkeys custom-us
localectl set-keymap --no-convert custom-us
usermod -s /usr/bin/fish root
cp -aT /etc/skel/ /root/
chmod 700 /root
@ -19,5 +27,21 @@ sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
pip3 install pygments
gem install asciidoctor --pre
gem install asciidoctor-pdf --pre
gem install asciidoctor-epub3 --pre
gem install pygments.rb --pre
python3 ~/.config/nvim/plugged/YouCompleteMe/install.py --clang-completer
systemctl enable pacman-init.service choose-mirror.service
systemctl set-default multi-user.target
systemctl enable dhcpcd.service
systemctl start dhcpcd.service
systemctl enable pcscd
systemctl start pcscd
gpg-connect-agent updatestartuptty /bye

View File

@ -1,8 +1,15 @@
alsa-utils
arch-install-scripts
b43-fwcutter
broadcom-wl
browserpass
browserpass-chromium
btrfs-progs
ccid
chromium
clang
clonezilla
cmake
crda
darkhttpd
ddrescue
@ -13,35 +20,52 @@ diffutils
dmraid
dnsmasq
dnsutils
dolphin
dosfstools
elinks
ethtool
exfat-utils
f2fs-tools
fbida
fish
fsarchiver
ghostscript
git
gnome-terminal
gnu-netcat
gnupg
gparted
gpm
gptfdisk
grml-zsh-config
grub
grub
hdparm
i3
i3status
iputils
ipw2100-fw
ipw2200-fw
irssi
iwd
jfsutils
lftp
libusb-compat
linux-atm
linux-firmware
lsscsi
lvm2
make
man-db
man-pages
mc
mdadm
mtools
mtools
mupdf
nano
ndisc6
neovim
netctl
nfs-utils
nilfs-utils
@ -49,34 +73,46 @@ nmap
ntfs-3g
ntp
openconnect
opensc
openssh
openvpn
os-prober
partclone
parted
partimage
pass
pcsclite
ppp
pptpclient
python-pip
python3
refind-efi
reiserfsprogs
rofi
rp-pppoe
rsync
ruby
rubygems
sdparm
sg3_utils
smartmontools
sudo
tcpdump
testdisk
ttf-hack
usb_modeswitch
usbutils
vi
vim-minimal
vpnc
wget
wicd
wireless-regdb
wireless_tools
wpa_supplicant
wvdial
xfsprogs
xl2tpd
xorg
xorg-drivers
xorg-xinit