diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 45 |
1 files changed, 31 insertions, 14 deletions
@@ -63,9 +63,12 @@ a) mp be called from the same directory that contains the PKGBUILD. This script takes all the same arguments that makepkg takes. -b) mpr - Symlink to mp that does the same thing as mp except it copies the - package to the release repo +b) mpr | mpl + mpr) Symlink to mp that does the same thing as mp except it copies the + package to the release repo + + mpr) Symlink to mp that does the same thing as mp except it copies the + package to a local repo c) update_db_repo Used to completely regenerate the the local package database. @@ -73,19 +76,24 @@ c) update_db_repo the repository. Example: update_db_repo /data/pkg_repo/i686/core-testing core-testing -d) kmsync.sh (testing|release|chroot-devel +d) kmsync.sh (testing|release|chroot-devel|source[testing|release|chroot-devel] This script is used to synchronize the contents of the compiled packages on knoppmyth.net and the ones on your local machine. - The script takes 1 argument telling it which repository with which + The script takes 1 or 2 arguments telling it which repository with which to sync up. The first time it's run with any given option the local directory (/data/pkg_repo/i686/core|extra|chroot-devel) MUST MUST MUST be empty. Please use this script with care, any changes that are made in the local mirror will be copied to the knoppmyth server. This includes the possibility to completely erase all the packages. + Normally the source packages are synced when the binary packages are synced. The + source option is present to force an update, and isn't not normally required to be run. + Finally this script uses a shared user account on knoppmyth.net that is a locked account. SSH keys must be setup for this script to work. + + e) build_tools/go.sh Menu driven fronted to create an ISO with selected profile The following profiles are available to create an iso. @@ -103,24 +111,33 @@ e) build_tools/go.sh location of the resulting ISO. For any of the local profiles to work, it requires that kmsync be run at least once to populate the local mirror. -Quick start showing typical process +Quick start showing typical process to create the chroot and build an ISO. ############ Create the chroot for i686 +First checkout the repo +- Restricted dev accounts should use + git clone $user@knoppmyth.net:LinHES-PKGBUILD + git clone $user@knoppmyth.net:LinHES-dev + +- Unresticted dev account should use + git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-dev + git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-PKGBUILD -git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-dev -git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD cd LinHES-dev/ ./setup_env.sh i686 cd .. - ./enter_dev_chroot.i686.sh + ./enter_dev_chroot.i686.sh Build and iso from knoppmyth.net cdb <= alias ./go.sh - (select i686-testing-REMOTE) + (select i686-testing-REMOTE) -commands used to build a package (tar in this example), and update knoppmyth.net +#--------- +Commands used to build a package (tar in this example), and update knoppmyth.net +Before building ANY packages you __MUST__ run "kmsync.sh testing" at least once while the local package directories are still empty. +Doing this step now will avoid sync headaches down the road. cdl <= alias that takes you the the top level PKGBUILD directory cd core-testing @@ -128,9 +145,9 @@ cd tar vi PKGBUILD <= bump the pkgrel line by 1 mp # at this point you should test the package, either by building -# a new iso or installing the package) -kmsync.sh testing <= this will pull down all changes from knoppmyth.net - and upload the new tar package +# a new iso or installing the package) +kmsync.sh testing <= this will pull down all new packages from knoppmyth.net + and upload the new tar package. This will also sync up the src packages. ----------------------- Misc. |