Archlinux: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
Boiarino (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Archlinux''' is used on VTP boards.
'''Archlinux''' is used on VTP boards.


To install packages, on any vtp board do following:
== INSTALL PACKAGES ==
 
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
  su
Line 14: Line 18:
  pacstrap /mnt/mount i2c-tools
  pacstrap /mnt/mount i2c-tools


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


== startup scripts ==
== STARTUP SCRIPT(S) ==


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

Latest revision as of 16:21, 4 December 2017

Archlinux is used on VTP boards.

INSTALL PACKAGES

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