This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
linux:acm_custom_repo [2016/02/02 05:14] walter |
linux:acm_custom_repo [2016/11/16 23:57] walter [Server Side] |
||
---|---|---|---|
Line 40: | 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 Packet ===== | ||
+ | |||
+ | - 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 |