Jason Chu
b528eba028
Install the custom pacman.conf in the chroot so that it can be used for later updates
2007-11-03 09:57:26 -07:00
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
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
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
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