Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/makechrootpkg.in
AgeCommit message (Collapse)Author
2024-03-15src/makechrootpkg: Ensure git doesn't ask for credentialsTasos Sahanidis
2024-03-08merged with upstream changesAndreas Baumann
2024-03-01Run makepkg with CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparseTasos Sahanidis
2024-03-01Revert "Preserve CARGO_REGISTRIES_CRATES_IO_PROTOCOL"Tasos Sahanidis
This reverts commit 8b8460731ddff4e6f6c3c9783770bdef04aa7b23.
2024-03-01Remove duplicate line added by accidentTasos Sahanidis
2024-03-01Preserve CARGO_REGISTRIES_CRATES_IO_PROTOCOLTasos Sahanidis
2023-11-26feat(makechrootpkg): add option to interactively inspect the chrootLevente 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-29merged with devtools 1.0.1 upstream (git repo migration)Andreas Baumann
2023-05-20fix(archroot): pass along the real command and argv by the callerLevente 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-19src: modularize repo layout into a libraryLevente 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-06makechrootpkg: make /tmp inside nspawn largerFelix 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-12-08makechrootpkg & mkarchroot: init and populate keyringsErich Eckner
We had trouble in the past with not properly initialized keyrings. This change aims at fixing this.
2022-12-08makechrootpkg: bend to allow running solely namcap via "*-build -- -- ↵Erich Eckner
--verifysource"
2022-12-08allow PKGEXT to be set from the environmentErich Eckner
2022-10-13makechrootpkg: fix short option handling for makepkg_argsMike 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-31makechrootpkg: support -A makepkg flagmorganamilo
2022-06-22make: split out source files into src folderLevente Polyak