Commit Graph

792 Commits

Author SHA1 Message Date
Daniel Isenmann 7bb2c48c8f add -C option to mkarchroot
Signed-off-by: Jason Chu <jchu@xentac.net>
2007-11-03 09:40:18 -07:00
Dan McGee 376e23156b Update makefile for new chroot tools
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-29 21:31:16 -05:00
Dan McGee a6863ff7cb mkarchroot: move check for root below option parsing
This way people can at least see the usage instructions.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-29 21:31:16 -05:00
Dan McGee 67dc59299a mkarchroot: clean up/unify output messages
Also remove an extra EUID check, we do this at the beginning.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-29 21:31:16 -05:00
Jason Chu a104988329 Trap normal exit for makechrootpkg
Make sure we umount everything on a clean exit too

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-29 21:09:06 -05:00
Jason Chu 26fc26adf8 Make sure that var/lib/pacman is created
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-23 23:51:15 -05:00
Aaron Griffin a26b93d779 Added 'update' to mkarchroot
Allows automated updating of a chroot

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-23 23:50:39 -05:00
Aaron Griffin 0b7d43615b Added GPL headers
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-21 21:08:55 -05:00
Aaron Griffin 34ee028d04 Allow us to properly drop permissions in the chroot via sudo
Use sudo to drop permissions and build as "nobody" in the chroot

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-07 12:31:22 -05:00
Aaron Griffin a336e5a91c Generate current locale in new chroots by default
This is a slightly hackish way of auto-filling locale information based on the
locale at the time of chroot building.

Further locale changes must be done manually.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-07 12:30:30 -05:00
Simo Leone 192b24f829 Trap EXIT and use relative cache and db paths
Trapping exit ensures that unmounting occurs in the event of an exit 1
or a normal exit. Pacman 3.0.6 takes cachedir and dbpath to be relative
to it's given root, not absolute.

Signed-off-by: Simo Leone <simo@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-06 21:58:16 -05:00
Aaron Griffin 656a54014b Initial checking of makechrootpkg
Mostly functional, missing true su capability....

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-03 23:24:29 -05:00
Aaron Griffin 5c11e9bb7c Initial mkarchroot commit
A simple utility for build and running within archlinux
specific chroot environments

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-03 22:19:03 -05:00
Thomas Bächler 0ccd823361 fixed integrity check when using PKGDEST
fixed tab/space indentation
2007-10-03 21:45:28 +02:00
Dan McGee c42e37bd60 extrapkg: Allow scp limit option to be passed on to scp
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01 23:29:58 -05:00
Dan McGee 43820a5a0d checkpkg: chmod +x
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01 23:29:12 -05:00
Aaron Griffin c1efcc1204 Sync package name checking for PKGDEST support
Not many changes here, most were already existing
checkpkg should fully support PKGDEST

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-01 23:08:29 -05:00
Thomas Bächler da6795515b Integrity check on upload
Ths is a little patch to check the integrity of the uploaded file after
uploading it. It will avoid problems like the ones with kernel26 or
openoffice-base recently.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-01 23:02:55 -05:00
Dan McGee 05d0bb6fcc Updates for makepkg3 and current -> core change
Taken from makepkg3.patch that was in the PKGBUILD tree.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-01 23:06:38 -05:00
Jason Chu d7e3a3ed63 made the repo variable point to the right place for currentpkg
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@221 630f3fb4-fbd1-0310-a574-b293cca3120f
2006-04-28 02:42:23 +00:00
Jason Chu 9cc25b8cd4 look for packages in the PKGDEST directory if we can't find them locally
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@219 630f3fb4-fbd1-0310-a574-b293cca3120f
2006-03-20 02:48:43 +00:00
Jason Chu 451393deb9 save packages to staging directory instead of ftp dir
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@218 630f3fb4-fbd1-0310-a574-b293cca3120f
2006-03-20 02:48:12 +00:00
Jason Chu 770fcbdcab fixed pacman command to not worry about version specific dependencies
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@216 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-07-18 00:25:38 +00:00
Jason Chu 6bfa899385 fixed typo
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@213 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-05-17 13:46:22 +00:00
Jason Chu 231e1ab3a0 added support for communitypkg and removed some old commented out code
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@212 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-05-17 06:28:33 +00:00
Jason Chu 66b4cfe770 fixed the typo in my logic
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-03-03 15:22:56 +00:00
Jason Chu f1fe91af29 added support for file://
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@204 630f3fb4-fbd1-0310-a574-b293cca3120f
2005-02-24 04:32:43 +00:00
Jason Chu 15d5e52b95 removed requirement for t in pkgrel
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@174 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-11-11 16:50:20 +00:00
Jason Chu 85638114f1 fixed a small bug created by loading the PKGBUILD
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@171 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-10-22 00:46:21 +00:00
Jason Chu 4a5e09b4ff added a little extra feature to not let you upload to current, extra, or unstable with a 't' in the release
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@169 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-10-07 20:59:05 +00:00
Jason Chu 17db287cbb sources the PKGBUILD and checks that 't' is in the pkgrel
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@168 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-09-28 18:57:58 +00:00
Jason Chu 87307609b8 added some error checking to scp and cvs commands
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@162 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-08-22 20:24:02 +00:00
Jason Chu 699aa9e627 added the option for an extra message in the cvs commit
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@156 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-24 03:49:38 +00:00
Jason Chu c75f35be50 actually fixed the problem this time
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@142 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:43:20 +00:00
Jason Chu ae4713adaa added makefile for easy installation
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@140 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:26:30 +00:00
Jason Chu 5b7fdbdcb8 a couple tweaks
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@139 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:21:47 +00:00
Jason Chu c059be5326 initial checkin of two fairly important developer tools
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@138 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:16:56 +00:00
Jason Chu d023ac639b renamed checkpkg to devtools
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@137 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-07-19 05:03:25 +00:00
Jason Chu 0908d03b95 added so name outputs
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@106 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 21:10:02 +00:00
Jason Chu 7206b11211 very basic checking so far
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@105 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 20:32:57 +00:00
Jason Chu 8b2d479773 skeleton
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@104 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 20:02:28 +00:00
Jason Chu 74c3878ee5 added checkpkg
git-svn-id: http://projects.xennet.org/archtools/checkpkg/trunk@103 630f3fb4-fbd1-0310-a574-b293cca3120f
2004-06-24 16:22:51 +00:00