- Oct 20, 2024
-
-
Morten Linderud authored
Fixes: #68 Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
- Sep 24, 2024
-
-
Morten Linderud authored
Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
Morten Linderud authored
Fixes: #68 Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
Morten Linderud authored
This reverts commit 46a69d58.
-
Morten Linderud authored
This reverts commit c2065454.
-
- Apr 07, 2024
-
-
Morten Linderud authored
* origin/merge-requests/60: umount without sleep, as umount -l detaches inmediately umount lazily to avoid race conditions
-
Morten Linderud authored
* origin/merge-requests/61: doc: remove footer tree-wide: add SPDX headers and shebang tree-wide: remove vim config editorconfig: we use 2 spaces for shell script indentation github: remove CI
-
- Apr 06, 2024
-
- Feb 16, 2024
-
-
Alberto Salvia Novella authored
-
- Jan 18, 2024
-
-
Alberto Salvia Novella authored
-
- Sep 09, 2023
-
-
Morten Linderud authored
* origin/pull/57: arch-chroot: bind mount over a /etc/resolv.conf symlink
-
Morten Linderud authored
* origin/pull/58: common: fix unshare chroot /dev symlinks
-
- Sep 05, 2023
-
-
Сашка724ая authored
Fixes invalid symlink paths for /dev/fd, /dev/stderr, /dev/stdin, /dev/stdout in arch-chroot when run in unshare mode. Signed-off-by:
Aleksandr Ksenofontov <github@sashok724.net>
-
- Aug 11, 2023
-
-
nl6720 authored
Use mount's a -c/--no-canonicalize option to ensure the bind mount to /etc/resolv.conf in the chroot directory is mounted correctly. This avoids issues when the chroot's /etc/resolv.conf is a symlink. Bump required util-linux version to 2.39 which supports the new mount API. Fixes https://github.com/archlinux/arch-install-scripts/issues/55 Related to https://github.com/util-linux/util-linux/issues/2370
-
- May 26, 2023
-
-
Morten Linderud authored
Signed-off-by:
Morten Linderud <morten@linderud.pw>
-
- May 05, 2023
-
-
Morten Linderud authored
* origin/pull/51: pacstrap: silence "only applied to the deepest dir" arch-chroot: split variable declaration and assignment Add gitlab-ci based on the mkinitcpio one Add .editorconfig, from mkinitcpio tests: silence "referenced but not assigned" warnings tests: remove non-applicable ${1} handling common: split genfstab only helpers common: quote all arguments common: disable shellcheck SC2059 common: remove unused msg2() common: remove unused is_array()
-
- May 03, 2023
-
-
Emil Velikov authored
Shellcheck warns that only the deepest directory created will have the requested permissions. That's fine - this is exactly what we want. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
As suggested by shellcheck: In arch-chroot line 164: local src=$(resolve_link /etc/resolv.conf) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In arch-chroot line 165: local dest=$(resolve_link "$chrootdir/etc/resolv.conf" "$chrootdir") ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
The in-tree config was seemingly never tested, since it fails loudly. Copy/paste the mkinitcpio one and drop the non-applicable bat/coverage sections. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
Direct copy from mkinitcpio. Note that the in-tree code-base consistently uses 2 space and redoing that will be done at misc later point. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
The optstring* helpers do the assignment, which isn't particularly easy for shellcheck to deduce. So silence the warnings. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
The arg was never set. Furthermore as-is shellcheck cannot realistically evaluate the included source. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
v2: drop warning and msg from fstab-helpers v3: drop m4 -> sed conversion Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
- May 01, 2023
-
-
Emil Velikov authored
Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
As the inline comment says, the arguments are the actual modifiers. Shout out to YHNdnzj for spotting this o/ Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
The function has been unused ever since it was introduced Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
The function hasn't been in use for a number of years. Cc: Dave Reisner <dreisner@archlinux.org> Fixes: b240f6ea ("common: declare pseudofs types as hash") Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
- Apr 01, 2023
-
-
Morten Linderud authored
* origin/pull/50: arch-chroot: add option to preserve the chroot resolv.conf
-
- Mar 29, 2023
-
-
Emil Velikov authored
There is a comprehensive inline comment about why we're touching the chroot resolv.conf. Although it does not consider the cases where: - the link may be broken for specific reasons, and/or - working resolver within the chroot is not wanted v2: - flip the condition check Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Morten Linderud authored
* origin/pull/49: pacstrap: error out earlier, on invalid directory pacstrap: delay selecting chroot/unshare setup pacstrap: stop interleaving functions and sequential code pacstrap: move include_m4 after the globals genfstab: reshuffle while read loop arch-chroot: delay selecting chroot/unshare setup arch-chroot: stop interleaving functions and sequential code arch-chroot: move include_m4 after the globals
-
- Mar 26, 2023
-
-
Morten Linderud authored
udev doesn't work in the chroot which prevents some tools like lsblk to retrieve the UUID of devices. This can be a bit problematic so instead of having /run mounted as a tmpfs, do a bind-mound from the rootfs and include `--make-private`. This is similar to the previous implemention. Fixes https://github.com/archlinux/arch-install-scripts/issues/24 Fixes https://github.com/archlinux/arch-install-scripts/pull/26
-
Emil Velikov authored
Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
Makes it easier to reason about the code. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
After the m4 substitution, the globals end up mixed misc functions. Just keep them at the top for legibility. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
Emil Velikov authored
Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com>
-