Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
AgeCommit message (Collapse)Author
2021-02-14configs/releng/build.sh: we can run on i686, tooErich Eckner
2021-02-14some upstream changes?Erich Eckner
2021-02-14configs/releng/build.sh: pin architecture in per-arch pacman.confsErich Eckner
2021-02-14configs/releng/build.sh: generate architecture specific pacman.conf ↵Erich Eckner
(differing mirror lists, differing caches)
2021-02-14Revert "[configs/releng] Oops, rename -dual.iso -> -x86_64.iso"Erich Eckner
This reverts commit 52a00da605ca7e0e367de44bf7c52fab033af1ba.
2021-02-14Revert "[configs/releng] Do not build i686"Erich Eckner
This reverts commit 01b54d240624e56b3e5415b6cf56a7fc3c987f24.
2021-02-14Revert "[releng] Cleanup remain dual-arch stuff"Erich Eckner
This reverts commit cf094d07b2c0c3a83c4c428c734adb2220648153.
2020-07-28Install all packages in one go and don't copy pacman.conf to airootfsnl6720
configs/{baseline,releng}/build.sh: Copy custom files to airootfs before installing packages. Instead of calling `mkarchiso init`, list all required packages in packages.x86_64 and install them all at once with `mkarchiso install`. The mkdir command which `mkarchiso init` performs is now done by make_custom_airootfs. configs/releng/build.sh: Don't copy configs/releng/pacman.conf to airootfs, it is only meant to provide a unmodified pacman.conf durring pacstrap. In airootfs, an unmodified /etc/pacman.conf will be installed with the pacman package.
2020-07-20Set root user's shell and password with custom /etc/passwd and /etc/shadownl6720
Correct shadow file permissions from build.sh.
2020-07-16Fix unexpected script_path behaviourJustin Kromlinger
When one calls the `build.sh` scripts with bash instead of the shebang `$script_path` contains the filepath, not the parent dir: ``` % cd /path % grep -A2 script_path= build.sh script_path=$(readlink -f "${0%/*}") echo "$script_path" exit 0 % ./build.sh /path % bash build.sh /path/build.sh ``` This commit fixes that: ``` % grep -A2 script_path= build.sh script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )" echo "$script_path" exit 0 % ./build.sh /path % bash build.sh /path ```
2020-07-12Don't hardcode packages in build.shnl6720
Move all required packages to packages.x86_64. Test file availability before copying them.
2020-07-11Remove lynx usage in configs/releng/build.shnl6720
/usr/local/bin/Installation_guide: Add a convenience script which opens the installation guide in lynx. /etc/motd: Provide a message with minimal instructions for connecting to internet and inform about the Installation_guide convenience script.
2020-07-11Use /usr/bin/env in shebangsnl6720
2020-07-11Keep /root permissions as 750nl6720
The filesystem package installs /root as 750 not 700. Move chmod from customize_airootfs.sh to build.sh.
2020-06-30Fixing issues with variable quoting and arraysDavid Runge
archiso/mkarchiso: Calls to _pacman() need to be done with multiple parameters (e.g. array) instead of one string, as string splitting is not done in that function anymore. Turning _iso_efi_boot_args from string into an array to have an easier time of passing it to xorriso. Calling xorriso within the if statements instead of providing -quiet via variable. Fixing command_install() to provide packages separately to _pacman() configs/releng/build.sh: Replacing all newlines when retrieving the packages from packages.x86_64 with spaces so they will be properly provided to "mkarchiso install".
2020-06-30Do not download a mirrorlist durring buildnl6720
Pacman's mirrolist will be updated by reflector.service in the live system.
2020-06-29Introducing shellcheck in gitlab CIDavid Runge
archiso/mkarchiso: Quoting all variables. Changing pkg_list to be an array instead of a string for easier handling. Using read to properly populate pkg_list from OPTARG with stripped whitespaces. Not exporting iso_label anymore as there seems to be no reason to do so. Introducing line breaks. .editorconfig: Setting max_line_length to 120. Adding a section for YAML files (e.g. .gitlab-ci.yml). configs/releng/build.sh Quting nearly all variables. Introducing line breaks. configs/baseline/build.sh: Quoting all variables. Introducing line breaks. .gitlab-ci.yml: Adding gitlab CI for shelleck linting of the config build scripts, mkarchiso and startup scripts in releng. Closes #19
2020-06-23Fixing ownership in airootfs customizationDavid Runge
configs/releng/build.sh: Fixing wrong ownership of files when copying overlay modifications from the config's airootfs directory to the working directory in make_customize_airootfs() by using the cp flag '--no-preserve=ownership'. Thanks to Marcos Mello and Francois Dupoux of sysresccd (https://gitlab.com/fdupoux/sysresccd-src) for making this fix available. Closes #11
2020-06-23Removing custom UEFI shell boot loader configsDavid Runge
configs/releng/build.sh: Copying the edk2-shell based Shell_Full.efi to the root of the iso/ efi image as 'shellx64.efi' is automatically picked up by certain hardware and by systemd-boot. This makes all custom UEFI shell configuration obsolete. configs/releng/efiboot/loader/entries/uefi-shell-*.conf: Removing obsolete custom UEFI shell boot loader configuration. Closes #14
2020-06-23Removing efitoolsDavid Runge
configs/releng/build.sh: Removing the efitools based PreLoader.efi and HashTool.efi, as they are dead weight due to not allowing secure boot (FS#59487). Future secure boot functionality (most probably based on shim) is being discussed in FS#53864. Closes #17
2020-05-30Using edk2-shell for UEFI shellDavid Runge
configs/releng/build.sh: Instead of downloading UDK2018 based edk2 UEFI shell, use the Shell binaries from the edk2-shell package. This effectively makes the use of EFI shell v1 obsolete. configs/releng/efiboot/loader/entries/uefi-shell-v*: Renaming UEFI shell entries to match the packaged edk2-shell based UEFI shell binaries. configs/releng/build.sh: Renaming the systemd-boot bootloader entries for UEFI shell (normal and full version) to reflect their file names, which are derived from the binary names in the edk2-shell package. Copying the edk2-shell based UEFI shell binaries for normal efiboot and .iso based "el-torito" efiboot mode. docs/README.build: Adding edk2-shell to the requirements in the documentation, as the package is now used to provide UEFI shell.
2019-04-26update download url for Shell.efiChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2018-12-13update download url for Shell_Full.efiChristian Hesse
https://bugzilla.tianocore.org/show_bug.cgi?id=1108 Signed-off-by: Christian Hesse <mail@eworm.de>
2018-08-25[configs/releng] Update amd-ucode license pathv39Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-08-24use package amd-ucode for amd microcodeChristian Hesse
The package linux-firmware has a new split package amd-ucode. Do not build the image manually but use the package. Signed-off-by: Christian Hesse <mail@eworm.de>
2018-08-18[configs/releng] Make and use amd_ucode.bin for initrd.Gerardo Exequiel Pozzi
Requested at FS#59694
2018-08-01make detection of kernel modules dir more robustEli Schwartz via arch-releng
extract `uname -r` from the contents of vmlinuz-linux rather than make assumptions about the kernel EXTRAVERSION. This is trivially customizable by changing the chosen kernel image. Fixes FS#59496 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
2018-06-28[releng] Copy custom pacman.conf to airootfsGerardo Exequiel Pozzi
2018-06-23[releng] support for -P iso_publisher and -A iso_application in build.shGerardo Exequiel Pozzi
Implement FS#54126
2018-06-23[releng] Cleanup remain dual-arch stuffGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23Ensure correct umask for scriptsGerardo Exequiel Pozzi
Fix for FS#58473 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-03-01[configs/releng] Oops, rename -dual.iso -> -x86_64.isoGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-01-23[configs/releng] Do not build i686Gerardo Exequiel Pozzi
Only avoid build i686. The syslinux config files for i686 are still present. This implies that a i686 entry will be present but not working. In another patch, this can be removed if desired. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-12-07[configs/releng] Increse efiboot.img againGerardo Exequiel Pozzi
We reached the upper limit again [#1], increasing sufficiently to do not touch again in long time. [#1] 526be1579e515beb7bfb04b154b23450eb6589cb Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-05-15[configs/releng] Fix efitools path #2v26Gerardo Exequiel Pozzi
Thanks Daniel Hillenbrand.
2016-05-14[configs/releng] Oops, fix efitools pathGerardo Exequiel Pozzi
Thanks Philip Müller. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-05-12[configs/releng] prebootloader -> efitoolsGerardo Exequiel Pozzi
Should be fixed FS#49314 first
2016-05-12update to match upstream binary name mkfs.fatChristian Hesse
Starting with dosfstools 4.0-1 the mkfs executable is called 'mkfs.fat'. Signed-off-by: Christian Hesse <mail@eworm.de>
2016-03-01[archiso] Increase EFI image size for El Torito boot methodGerardo Exequiel Pozzi
Current build leaves ~800K free of 31M in the FAT filesystem, adding 9M. Going beyond 65535 sectors of 512-byte is a bit special, but works for EFI. Image size is reported a zero in boot catalog, but xorriso does a good job, and writes right value in hybrid-partition. Tested booting in qemu in both modes (cd-rom and hybrid) and works fine. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2016-03-01Fix non-signed buildsGerardo Exequiel Pozzi
FS#48382
2016-02-28Optionally sign the squashfs files with gpg and add the gpg key to the initramfsThomas Bächler
A new option -g <keyid> is added to build.sh set the key id. If it is set, the squashfs files will be signed by gpg and the gpg key will be added to archiso.img. In order to use this option, a gpg agent must be running. Since build.sh is executed as root, it may be necessary to set the GNUPGHOME environment variable, for example $ su -c "GNUPGHOME=/home/youruser/.gnupg /path/to/build.sh -g yourkeyid"
2015-07-20[configs/releng] Fix EFI shells URLGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-07-18[configs/releng] Update EFI Shells URLGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-06-24[configs/releng] refind-efi is not used for ISO build, move to packagesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-06-24[configs/releng] Move on gummiboot -> systemd-bootGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-04-21explicitly detach loop device on umountChristian Hesse
I see cases where a stale loop device stays around and fills up my partition as image file is still in use and does not get unlinked. Explicitly detach loop device on umount to fix that. Signed-off-by: Christian Hesse <mail@eworm.de>
2015-04-17[configs/releng] Fix pacman.conf location when non-default work_dir is usedGerardo Exequiel Pozzi
Fix FS#44620, reported by Lukas B. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-12-21[configs/releng] Always install needed pkgs from build.shGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-31[configs/releng] Always load intel-ucode in early boot stageGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-29[configs/*] Install archiso initcpio files in /etc/initcpioGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>