source: trunk/server/doc/package-build-howto @ 1298

Last change on this file since 1298 was 935, checked in by andersk, 16 years ago
Gotcha.
File size: 893 bytes
Line 
1This document is a how-to for building new packaages for scripts.mit.edu.
2
3* Ensure you have a scripts-build user account, as documented in install-howto.
4
5* su scripts-build -
6
7* Use the Makefile to build the scripts.mit.edu-specific Fedora
8  packages.
9  - export PATH=$PATH:/usr/sbin
10  - make download
11  - make setup
12  - make all
13  - openafs-devel is a build-dependency of accountadm, so you'll need to
14    install the openafs-devel package you just built by hand when that fails.
15
16* Add the packages to the repository by using a trusted machine to
17  - krootscp root@build-server.mit.edu:/home/scripts-build/rpmbuild/RPMS/x86-64/* /mit/scripts/rpm/
18  - cd /mit/scripts/rpm && createrepo .
19  - If you don't have a trusted Fedora machine, you can use createrepo
20    -o ~/foo . and then manually install the generated file
21
22* Rebuild mit-zephyr on a 32-bit machine, like the one at Joe's home.
Note: See TracBrowser for help on using the repository browser.