- Sep 06, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
-
- Aug 09, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
-
- Aug 04, 2012
-
-
Dave Reisner authored
-
Pierre Schmitz authored
By default chroot uses SHELL as default shell on the target if not specified otherwise. As our install iso uses zsh this might fail if zsh is not installed on the target. [dave: changed shell to /bin/sh]
-
Dave Reisner authored
This doesn't actually work since we don't shift off the chroot directory. This reverts commit 67c4b0fd.
-
Dave Reisner authored
-
Dave Reisner authored
chroot(1) will default to ${SHELL:-/bin/sh} which might not work, given SHELL being /bin/zsh instead. Immediately default to /bin/sh, which will exist in any sane chroot.
-
- Aug 03, 2012
-
-
Daniel Wallace authored
use -i (interactive) to allow for choosing packages from groups [dave: alter option description]
-
- Jul 25, 2012
-
-
Dave Reisner authored
What happened to v2? I HAVE NO IDEA.
-
- Jul 23, 2012
-
-
Daniel Wallace authored
-
Dave Reisner authored
-
Dave Reisner authored
Rename this, too, so it doesn't share a name with a reserved word. Fixes FS#30808
-
Dave Reisner authored
pacman creates this for us, but seems to have problems writing to it. Hackily addresses FS#30807
-
- Jul 15, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
-
Dave Reisner authored
Remove the -r option, forcing the user to explicitly pass a root directory. This removes some confusion wherein we set defaults, but wouldn't allow all the defaults to be accepted. This also adds some mild documentation to the help output for genfstab and pacstrap.
-
- Jul 14, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
-
- Jun 26, 2012
-
-
Dave Reisner authored
-
- Jun 23, 2012
-
-
Dave Reisner authored
This works around something that seems might be a bug in lsblk where-in detection of UUIDs fails for certain devices when invoked as non-root.
-
Dave Reisner authored
This mainly fixes the case where there's devices mounted under the chroot directory. Creating a bind mount on top of this will obscure these other mounts.
-
Tom Gundersen authored
However, add a '-c' switch to use the host cache instead. The default is useful for when installing a system from an install media (which has possibly constrained storage), but the '-c' switch is useful when e.g. creating build-chroots. I considered doing this the other way around ('-c' being the default). However, I think it makes sense to default to the expected behavior for install both because a new user is less likely to know that they need to add a switch, and because the errormessage they'd get when they run out of space/memory is nonsensical and would cause lots of annoying questions. [dave: use proper array addition, nuke readlink, use arithmetic flag] Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This would overwrite an existing mirrorlist, but the one at the host is known to be good at this point, so the loss is minimal. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
We want to be able to call pacstrap with the target being an existing install (in case it has been severely broken), and hence we might want to preserve the existing keyring. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- Jun 22, 2012
-
-
Dave Reisner authored
$newroot might be a relative path, so remove the leading slash.
-
Pierre Schmitz authored
$newroot might be a relative path, so remove the leading slash. Signed-off-by:
Pierre Schmitz <pierre@archlinux.de>
-
- Jun 20, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
the trap won't necessarily have the same positional parameters.
-
- Jun 19, 2012
-
-
Dave Reisner authored
Suggested by Pierre. This makes sense since somewhere along the line, pacman or mount are going to complain.
-
Dave Reisner authored
-
- Jun 18, 2012
-
-
Dave Reisner authored
-
Dave Reisner authored
the api_mount function could, for some bizzare reason, fail midway through, leaving the user with a half mounted chroot. set the trap before the function instead, but mask errors since we might see "foo not mounted" errors.
-
Dave Reisner authored
-
Dave Reisner authored
avoid using %b to unescape swap devices, the same as block devices, and pass non-file swap devices through the write_source function.
-
Dave Reisner authored
-
Dave Reisner authored
-
Dave Reisner authored
-
Dave Reisner authored
The %b formatter is too generic for us to use, as a sequence such as '\b' is invalid for hex escaping, but valid for %b. Port over the logic from util-linux's mangle mini-lib and use this instead. This supports both 3 digits hex as well as 3 digit octal escapes, and will ignore the more generic ascii based single character escapes. Output is always in octal format to comply with fstab(5).
-