Archlinux: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
Line 30: Line 30:
  ssh root@<hostname>
  ssh root@<hostname>
  mount clonfs1:/vol/diskless /mnt/mount
  mount clonfs1:/vol/diskless /mnt/mount
  cd /mnt/mount/ArchLinux/armv7-devel
  cd /mnt/mount/ArchLinux/armv7-devel/root
  emacs root/usr/lib/systemd/system/DiagGui.service
  emacs usr/lib/systemd/system/DiagGui.service

Revision as of 10:19, 4 December 2017

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