This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:acm_custom_repo [2014/09/23 15:45] walter [Server Side] |
linux:acm_custom_repo [2021/05/02 21:36] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== ACM Arch Linux Repo ====== | ||
+ | |||
====== What is is? ====== | ====== What is is? ====== | ||
- | The ACM custom repo is a local package repository for internal ACM packages. One example being the [[lxdm_login_theming_setup|LXDM themes]] used by the ACM/LUG workstations. | + | The ACM custom repo is a local package repository for internal ACM packages. One example being the [[linux:lxdm_login_theming_setup|LXDM themes]] used by the ACM/LUG workstations. |
It currently only supports packages with arch type "any". | It currently only supports packages with arch type "any". | ||
Line 16: | Line 18: | ||
<file|pacman.conf> | <file|pacman.conf> | ||
[uicacm] | [uicacm] | ||
+ | SigLevel = Optional TrustAll | ||
Server = http://mozart.acm.cs/acm-packages/archlinux/ | Server = http://mozart.acm.cs/acm-packages/archlinux/ | ||
</file> | </file> | ||
+ | then sync the repo DB | ||
+ | |||
+ | <code> | ||
+ | pacman -Sy | ||
+ | </code> | ||
====== Server Side ====== | ====== Server Side ====== | ||
Line 32: | Line 40: | ||
[[https://wiki.archlinux.org/index.php/Pacman_tips#Custom_local_repository]] | [[https://wiki.archlinux.org/index.php/Pacman_tips#Custom_local_repository]] | ||
+ | |||
+ | ===== Updating A Package ===== | ||
+ | |||
+ | - Push updated files to the acm-packages git repo (don't forget to update the PKGBUILD md5sums for the files) | ||
+ | - Log into mozart.acm.cs and go to /srv/http/acm-packages | ||
+ | - Run "sudo su http -s /bin/bash" | ||
+ | - Run "git pull origin master" | ||
+ | - Enter a username and password to access the git repo | ||
+ | - Navigate to the directory with the updated package | ||
+ | - Run "makepkg" to generate the new pkg.tar.gz file | ||
+ | - Navigate one directory up to the "archlinux" directory of the repo | ||
+ | - Create a symbolic link to the new package file in this directory "ln -s <package_dir>/<package_tar> <package_tar>" | ||
+ | - Run "repo-add uicacm.db.tar.gz <package_tar>" | ||
+ | - Done |