Fix formatting on tank alpine setup
This commit is contained in:
parent
1dcaf12fdf
commit
128e501a88
116
content/tank.md
116
content/tank.md
|
@ -20,8 +20,6 @@ this page.
|
|||
* 8GB PC3-8500 RAM
|
||||
* SanDisk SSD PLUS 240GB 19136F805340
|
||||
* Ricoh 5-in-1 Multicard Reader
|
||||
* I never knew it supported anything other than SD cards…
|
||||
* TODO: Test with a Memory Stick
|
||||
* Intel 10/100/1000 Ethernet
|
||||
* Intel HD audio with CX20585 codec
|
||||
* ThinkPad Modem (MDC-3.0, 56kbps HDA)
|
||||
|
@ -190,10 +188,12 @@ Below are some notes on the initial setup process.
|
|||
```
|
||||
|
||||
3. Add `cryptsetup` and `keymap` to the `features` in `/mnt/etc/mkinitfs/mkinitfs.conf`
|
||||
|
||||
4. ```
|
||||
mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt/ $(ls /mnt/lib/modules/)
|
||||
blkid -s UUID -o value /dev/sda2 > ~/uuid
|
||||
```
|
||||
mkinitfs -c /mnt/etc/mkinitfs/mkinitfs.conf -b /mnt/ $(ls /mnt/lib/modules/)
|
||||
blkid -s UUID -o value /dev/sda2 > ~/uuid
|
||||
```
|
||||
|
||||
5. Set the proper UUID in `/mnt/etc/update-extlinux.conf`:
|
||||
|
||||
```
|
||||
|
@ -208,19 +208,19 @@ Below are some notes on the initial setup process.
|
|||
```
|
||||
|
||||
6. ```
|
||||
chroot /mnt/
|
||||
# This may cause errors on `/boot`, ignore them
|
||||
update-extlinux
|
||||
exit
|
||||
dd bs=440 count=1 conv=notrunc if=/mnt/usr/share/syslinux/mbr.bin of=/dev/sda
|
||||
cd
|
||||
umount /mnt/boot
|
||||
swapoff /dev/vg0/swap
|
||||
umount /mnt
|
||||
vgchange -a n
|
||||
cryptsetup luksClose lvmcrypt
|
||||
reboot
|
||||
```
|
||||
chroot /mnt/
|
||||
# This may cause errors on `/boot`, ignore them
|
||||
update-extlinux
|
||||
exit
|
||||
dd bs=440 count=1 conv=notrunc if=/mnt/usr/share/syslinux/mbr.bin of=/dev/sda
|
||||
cd
|
||||
umount /mnt/boot
|
||||
swapoff /dev/vg0/swap
|
||||
umount /mnt
|
||||
vgchange -a n
|
||||
cryptsetup luksClose lvmcrypt
|
||||
reboot
|
||||
```
|
||||
|
||||
7. Enable the edge repos in `/etc/apk/repositories`
|
||||
|
||||
|
@ -228,48 +228,48 @@ Below are some notes on the initial setup process.
|
|||
apk update
|
||||
setup-xorg-base xfce4 xfce4-terminal lightdm-gtk-greeter xfce4-screensaver dbus-x11 sudo
|
||||
apk add \
|
||||
xf86-video-intel \
|
||||
xf86-input-synaptics \
|
||||
xf86-input-libinput \
|
||||
xf86-input-evdev \
|
||||
xf86-input-wacom \
|
||||
setxkbmap \
|
||||
elogind \
|
||||
polkit-elogind \
|
||||
gvfs-fuse \
|
||||
gvfs-mtp \
|
||||
gvfs-smb \
|
||||
fuse-openrc \
|
||||
thunar-volman \
|
||||
udisks2 \
|
||||
pavucontrol \
|
||||
libreoffice \
|
||||
firefox \
|
||||
pass \
|
||||
git \
|
||||
gvim \
|
||||
xfce4-screenshooter \
|
||||
syncthing \
|
||||
xfce4-whiskermenu-plugin \
|
||||
onboard \
|
||||
evolution \
|
||||
vlc \
|
||||
openssh \
|
||||
tlp \
|
||||
cpufreqd \
|
||||
blueman \
|
||||
pulseaudio-bluez
|
||||
|
||||
xf86-video-intel \
|
||||
xf86-input-synaptics \
|
||||
xf86-input-libinput \
|
||||
xf86-input-evdev \
|
||||
xf86-input-wacom \
|
||||
setxkbmap \
|
||||
elogind \
|
||||
polkit-elogind \
|
||||
gvfs-fuse \
|
||||
gvfs-mtp \
|
||||
gvfs-smb \
|
||||
fuse-openrc \
|
||||
thunar-volman \
|
||||
udisks2 \
|
||||
pavucontrol \
|
||||
libreoffice \
|
||||
firefox \
|
||||
pass \
|
||||
git \
|
||||
gvim \
|
||||
xfce4-screenshooter \
|
||||
syncthing \
|
||||
xfce4-whiskermenu-plugin \
|
||||
onboard \
|
||||
evolution \
|
||||
vlc \
|
||||
openssh \
|
||||
tlp \
|
||||
cpufreqd \
|
||||
blueman \
|
||||
pulseaudio-bluez
|
||||
|
||||
cat <<EOF
|
||||
Section "InputClass"
|
||||
Identifier "Keyboard Default"
|
||||
MatchIsKeyboard "yes"
|
||||
Option "XkbLayout" "fr"
|
||||
Option "XkbVariant" "oss"
|
||||
Option "XkbOptions" "compose:rctrl"
|
||||
EndSection
|
||||
Section "InputClass"
|
||||
Identifier "Keyboard Default"
|
||||
MatchIsKeyboard "yes"
|
||||
Option "XkbLayout" "fr"
|
||||
Option "XkbVariant" "oss"
|
||||
Option "XkbOptions" "compose:rctrl"
|
||||
EndSection
|
||||
EOF >/usr/share/X11/xorg.conf.d/20-keyboard.conf
|
||||
|
||||
|
||||
adduser -g lucidiot lucidiot
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue