Archlinux

From CLONWiki
Revision as of 16:21, 4 December 2017 by Boiarino (talk | contribs)
Jump to navigation Jump to search

Archlinux is used on VTP boards.

INSTALL PACHAGES

To install packages (or have in general write access to '/' partition) ssh to zedboard1 as root and run ./remount_fs.sh, it will remount root partition as 'rw'.

To install packages 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


STARTUP SCRIPT(S)

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