index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-18 | fix: consider all git repos inside the chroot safe | Jan Alexander Steffens (heftig) | |
Git 2.45.1 expanded its security checks to deny cloning even local repos that are owned by another user. Previously, this just affected network filesystems. On our buildserver, this prevents makepkg from cloning repos from our shared srcdest into the srcdir, if these repos were created by another packager. To disable this check, set `safe.directory` to `*`. This looks like a glob, but is really just a special value. The only other option would be to add each Git repository in srcdest to the configuration. Component: makechrootpkg | |||
2024-04-16 | fix: conflicting packages when using -I | Vekhir -- | |
Originally fixed in b7893a2ca8e09062197129881bce3fd6700a573a, that approach created another bug when packages have several providers. In that case, pacman expects a number, so "yes" is not a valid answer, leading to an infinite loop. Using the undocumented, but stable option "--ask=4" allows to selectively change the default answer for conflicts, therefore properly fixing the underlying issue. See also: https://gitlab.archlinux.org/pacman/pacman/-/issues/60 Fixes #163 Component: makechrootpkg | |||
2023-11-26 | feat(makechrootpkg): add option to interactively inspect the chroot | Levente Polyak | |
Implement the -x option for makechrootpkg which allows to get an interactive shell in the chroot after building the package. Useful to ease the debugging of a package build. Depending on the argument, the interactive shell is either always spawned or only when an error occurred during build. This option is also forwarded from `pkgctl build` via the `--inspect` flag. Component: pkgctl build Component: makechrootpkg Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-20 | fix(archroot): pass along the real command and argv by the caller1.0.0rc1 | Levente Polyak | |
Before modularizing the repo layout, we used m4_include to assemble together sources into a single file. Now, we properly use a library layout without assembling multiple files, which means we cannot anymore rely on BASH_SOURCE inside the library file. Hence, pass along the actual command and argv from the check_root caller. Fixes: src: modularize repo layout into a library Signed-off-by: Morten Linderud <foxboron@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-19 | src: modularize repo layout into a library | Levente Polyak | |
This will greatly help us to structure the functionality and commands in a more sane way. We will distribute the sources as actual libraries and reuse code with imports instead of processing everything with m4 and duplicating a lot of code. | |||
2023-01-06 | makechrootpkg: make /tmp inside nspawn larger | Felix Yan | |
systemd by default limits the /tmp folder to be 10% of the host memory: https://github.com/systemd/systemd/blob/6f2cea06bfce6ad99f0ac37ab12af61ef7549fe3/src/shared/mount-util.h#L33 This is problematic to our builds because many toolchains opt to put build artifacts in /tmp, and expecting the host memory to be 10 times larger is not optimal or even realistic sometimes. This MR attempts to enlarge it to 50% memory as the host machine's default value of /tmp. This should be a fair compromise between being overly conservative and taking up too much memory to crash the system. | |||
2022-10-13 | makechrootpkg: fix short option handling for makepkg_args | Mike Yuan | |
Currently, when multiple short options are passed as a single argument, only the one that matches the first case statement will be parsed. This shall be fixed by using switch-case resume. | |||
2022-08-31 | makechrootpkg: support -A makepkg flag | morganamilo | |
2022-06-22 | make: split out source files into src folder | Levente Polyak | |