Archlinux

From CLONWiki
Jump to navigation Jump to search

Archlinux is used on VTP boards.

To install packages, on any vtp board do following:

su
export http_proxy=http://jprox:8082
export https_proxy=http://jprox:8082
mkdir /mnt/mount
mount -o bind /misc/diskless/ArchLinux/armv7-devel/root /mnt/mount
pacstrap /mnt/mount <package>

We installed:

pacstrap /mnt/mount i2c-tools

NOTE: automount seems doing nothing, using /etc/fstab, have to check ...

startup scripts

Some services started on reboot, for example DiagGuiServer, see file:

/etc/systemd/system/multi-user.target.wants/DiagGui.service

it is link to

/usr/lib/systemd/system/DiagGui.service

so to modify it, do following:

ssh root@<hostname>
mount clonfs1:/vol/diskless /mnt/mount
cd /mnt/mount/ArchLinux/armv7-devel/root
emacs usr/lib/systemd/system/DiagGui.service