aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/merge-requests/277'nl67202022-08-221-16/+13
|\ | | | | | | | | | | | | | | By Kristian Klausen * origin/merge-requests/277: Use VM runners[1] for building See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/277
| * Use VM runners[1] for buildingKristian Klausen2022-08-211-16/+13
|/ | | | | | | | | | | | | | | | | | Building inside a TCG accelerated qemu VM is slow and painful, but it is the only option when running in a non-privileged container. arch-boxes has been built inside a KVM accelerated VMs ("VM runner") for over 11 months[2] and recently the MR[1] was merged into the infrastructure repo. With it now being a official part of arch's infrastructure we should switch to it and get much faster builds. Doing some quick testing, the whole pipeline is now roughly ~29-84 minutes faster (taking between 7-9 minutes, instead of 36-93 minutes). [1] https://gitlab.archlinux.org/archlinux/infrastructure/-/merge_requests/385 [2] https://gitlab.archlinux.org/archlinux/arch-boxes/-/commit/3bda5b26a675f241a1e0ba596dc94858839d96fc Fix #161
* mkarchiso: preload more GRUB modules and disable shim_lock verifiernl67202022-08-192-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --disable-shim-lock is required to support Secure Boot with custom signatures without using shim. Otherwise GRUB will trow an error when trying to boot a kernel: error: shim_lock protocol not found. error: you need to load the kernel first. The modules GRUB will use need to be preloaded otherwise the EFI binaries cannot be signed and used for Secure Boot. See https://bugs.archlinux.org/task/71382. GRUB will trow en error: error: verification requested but nobody cares These changes are done to support Secure Boot using custom keys (not shim) by simply extracting the boot loader (BOOTx64.EFI and BOOTIA32.EFI), kernel, UEFI shell, signing them and then repacking the ISO. For example. Extract the files: $ osirrox -indev archlinux-YYYY.MM.DD-x86_64.iso \ -extract_boot_images ./ \ -extract /EFI/BOOT/BOOTx64.EFI BOOTx64.EFI \ -extract /EFI/BOOT/BOOTIA32.EFI BOOTIA32.EFI \ -extract /shellx64.efi shellx64.efi \ -extract /shellia32.efi shellia32.efi \ -extract /arch/boot/x86_64/vmlinuz-linux vmlinuz-linux Make the files writable: $ chmod +w BOOTx64.EFI BOOTIA32.EFI shellx64.efi shellia32.efi vmlinuz-linux Sign the files: $ sbsign --key db.key --cert db.crt --output BOOTx64.EFI BOOTx64.EFI $ sbsign --key db.key --cert db.crt --output BOOTIA32.EFI BOOTIA32.EFI $ sbsign --key db.key --cert db.crt --output shellx64.efi shellx64.efi $ sbsign --key db.key --cert db.crt --output shellia32.efi shellia32.efi $ sbsign --key db.key --cert db.crt --output vmlinuz-linux vmlinuz-linux Copy the boot loader and UEFI shell to the EFI system partition image: $ mcopy -D oO -i eltorito_img2_uefi.img BOOTx64.EFI BOOTIA32.EFI ::/EFI/BOOT/ $ mcopy -D oO -i eltorito_img2_uefi.img shellx64.efi shellia32.efi ::/ Repack the ISO using the modified El Torito UEFI boot image and add the signed boot loader files, UEFI shell and kernel to ISO9660: $ xorriso -indev archlinux-YYYY.MM.DD-x86_64.iso \ -outdev archlinux-YYYY.MM.DD-x86_64-Secure_Boot.iso \ -boot_image any replay \ -append_partition 2 0xef eltorito_img2_uefi.img \ -map BOOTx64.EFI /EFI/BOOT/BOOTx64.EFI \ -map BOOTIA32.EFI /EFI/BOOT/BOOTIA32.EFI \ -map shellx64.efi /shellx64.efi \ -map shellia32.efi /shellia32.efi \ -map vmlinuz-linux /arch/boot/x86_64/vmlinuz-linux Boot the resulting archlinux-YYYY.MM.DD-x86_64-Secure_Boot.iso.
* mkarchiso: copy all GRUB files to the ISOnl67202022-08-172-52/+68
| | | | | | | | | | | | | | | | Do not limit file copying to only grub.cfg and instead copy all GRUB configuration files and assets to both the ISO9660 and FAT image. This will allow for including custom images, fonts, etc. To easily match all non-configuration files (i.e. files without the .cfg extension), bash's extended glob feature will be enabled. Actions common to multiple _make_bootmode_uefi-*.grub are split off into dedicated functions: * _make_common_bootmode_grub_copy_to_efibootimg, * _make_common_bootmode_grub_copy_to_isofs, * _make_common_bootmode_grub_cfg. Use the same du command in all efiboot_imgsize variable assignments. Fixes #185.
* mkarchiso: unset LANGUAGEnl67202022-08-071-0/+5
| | | | | LC_ALL=C.UTF-8, unlike LC_ALL=C, does not override LANGUAGE. See https://sourceware.org/bugzilla/show_bug.cgi?id=16621 and https://savannah.gnu.org/bugs/?62815
* Merge remote-tracking branch 'origin/merge-requests/273'nl67202022-07-173-21/+26
|\ | | | | | | | | | | | | * origin/merge-requests/273: Add efibootimg variable in place of full path See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/273
| * Add efibootimg variable in place of full pathPellegrino Prevete2022-07-163-21/+26
|/ | | | | | Update authors Update CHANGELOG
* Add changelog for 65nl67202022-06-301-0/+12
|
* configs/*/grub/grub.cfg: enable serial input and outputnl67202022-06-262-5/+23
| | | | | | | | Try to initialize a serial device and use it for input and output. Add more comments to grub.cfg to explain what is done. Related to #75
* mkarchiso: work arround GRUB's cmdpath having incorect case on some firmwarenl67202022-06-241-4/+22
| | | | Fixes #183
* configs/*/grub/grub.cfg: auto-boot after 15 secondsnl67202022-06-232-12/+20
| | | | | | | * Set the default boot entry and its timeout. * Add classes to menu entries to allow theming them. Fixes #179
* Merge remote-tracking branch 'origin/merge-requests/266'nl67202022-06-231-9/+2
|\ | | | | | | | | | | | | | | | | | | By Alexander Epaneshnikov * origin/merge-requests/266: change grub init tune Closes #180 See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/266
| * change grub init tuneAlexander Epaneshnikov2022-06-181-9/+2
|/ | | | yes it was descriptive but too large. this fixes #180
* mkarchiso: add SBAT metadata to grub-mkstandalone created EFI binariesnl67202022-06-181-0/+2
| | | | | | Even though archiso created ISOs do not support Secure Boot, having SBAT would allow users to more easily repack the files in the ISO to add a signed shim. Fixes #174
* mkarchiso: improve commentsnl67202022-06-181-12/+10
| | | | | * Fix typos and wording, * Remove impossible TODO.
* configs/baseline/profiledef.sh: add `-E ztailpacking` to ↵nl67202022-06-182-1/+2
| | | | | | airootfs_image_tool_options for mkfs.erofs As the man page says, it saves more space, although the feature is experimental.
* Merge remote-tracking branch 'origin/merge-requests/261'nl67202022-06-181-1/+1
|\ | | | | | | | | | | | | | | | | | | By plainlinen * origin/merge-requests/261: Add implicit package dependencies to PACKAGE_LIST in .gitlab-ci.yml Closes #176 See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/261
| * Add implicit package dependencies to PACKAGE_LIST in .gitlab-ci.ymlplainlinen2022-06-171-1/+1
| | | | | | | | | | CI was working before because these dependencies were already in the official ISO but include them explicitly to be safe.
* | Merge remote-tracking branch 'origin/merge-requests/256'nl67202022-06-188-33/+296
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | After more than ten years, archiso is once again using GRUB. GRUB! Only this time, it's for UEFI not BIOS boot. By plainlinen * origin/merge-requests/256: Update documentation for uefi x64 grub boot modes Use grub for uefi x64 boot modes in profiledef.sh Add *_uefi-x64.grub.* functions to mkarchiso Add useful grub menu entries to grub.cfg Closes #63 and #159 See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/256.
| * Update documentation for uefi x64 grub boot modesplainlinen2022-06-103-2/+11
| |
| * Use grub for uefi x64 boot modes in profiledef.shplainlinen2022-06-092-4/+4
| |
| * Add *_uefi-x64.grub.* functions to mkarchisoplainlinen2022-06-091-21/+251
| |
| * Add useful grub menu entries to grub.cfgplainlinen2022-06-092-6/+30
|/
* mkarchiso: use C.UTF-8nl67202022-06-092-1/+3
| | | | | | The glibc 2.35-6 package ships with the C.UTF-8 locale included, so mkarchiso does not need to use a non-UTF-8 locale anymore. Implements #175.
* configs/: use the C.UTF-8 localenl67202022-06-094-14/+9
| | | | | | | The glibc 2.35-6 package ships with the C.UTF-8 locale included. This means there is now a UTF-8 locale available by default and en_US.UTF-8, which requires editing /etc/locale.gen and running locale-gen, is not needed anymore. Implements #175.
* .gitignore: ignore *.cer, *.crt, *.key, *.pem and *.imgnl67202022-05-311-0/+5
| | | | | * .cer, .crt, .key and .pem are typical file name extensions for TLS certificates and keys. They are used when codesigning with openssl and should never be commited in the repo. * .img is a generic image file. Such files could be used when repacking an ISO to attach cloud-init CIDATA.
* Fix release date for v64 in CHANGELOG.rstnl67202022-05-301-1/+1
|
* Add changelog for 64nl67202022-05-281-2/+15
|
* Merge remote-tracking branch 'origin/merge-requests/254'nl67202022-05-285-18/+29
|\ | | | | | | | | | | | | | | | | | | By Alexander Epaneshnikov * origin/merge-requests/254: fix boot menu entry sorting add accessible copytoram entry enable beeps in boot menu See merge request !254
| * fix boot menu entry sortingAlexander Epaneshnikov2022-05-284-24/+28
| | | | | | | | I guess new systemd changed this
| * add accessible copytoram entryAlexander Epaneshnikov2022-05-281-0/+6
| |
| * enable beeps in boot menuAlexander Epaneshnikov2022-05-281-0/+1
|/
* Merge remote-tracking branch 'origin/merge-requests/216'nl67202022-05-278-12/+215
|\ | | | | | | | | | | | | | | | | | | | | | | * origin/merge-requests/216: Update CHANGELOG. Update baseline and releng profiledef.sh to support ia32 uefi mode. Add GRUB configuration files to baseline and releng profiles. Add support for GRUB ia32 UEFI in mkarchiso, update READMEs. Closes #107 See merge request !216
| * Update CHANGELOG.Pellegrino Prevete2022-05-251-0/+3
| |
| * Update baseline and releng profiledef.sh to support ia32 uefi mode.Pellegrino Prevete2022-05-252-2/+6
| |
| * Add GRUB configuration files to baseline and releng profiles.Pellegrino Prevete2022-05-252-0/+75
| |
| * Add support for GRUB ia32 UEFI in mkarchiso, update READMEs.Pellegrino Prevete2022-05-253-10/+131
|/
* Merge remote-tracking branch 'origin/merge-requests/250'nl67202022-05-181-1/+1
|\ | | | | | | | | | | | | * origin/merge-requests/250: bind-tools has been replaced with bind See merge request !250
| * bind-tools has been replaced with bindDarren Ng2022-05-171-1/+1
|/
* Add changelog for 63nl67202022-04-301-2/+12
|
* configs/*: add VMware and Hyper-V guest packages and enable their servicesnl67202022-04-3013-0/+16
| | | | | | | * open-vm-tools package, vmtoolsd.service and vmware-vmblock-fuse.service for VMware. * hyperv package, hv_fcopy_daemon.service, hv_kvp_daemon.service and hv_vss_daemon.service for Hyper-V. Related to #118.
* configs/releng/airootfs/etc/xdg/reflector/reflector.conf: use mirrors that ↵nl67202022-04-282-0/+3
| | | | | | support both IPv4 & IPv6 This ensures that IPv6-only systems get working mirrors.
* configs/releng/packages.x86_64: add open-iscsinl67202022-04-282-0/+2
| | | | It is needed for installing Arch on an iSCSI target.
* configs/releng/packages.x86_64: add dmidecodenl67202022-04-072-0/+3
| | | | It is useful for finding information about the system's hardware and firmware.
* configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use ramfsnl67202022-04-062-2/+4
| | | | | When using tmpfs, it is possible that parts of it end up getting put in swap space (only if there is one). This may not be desired, so use ramfs instead.
* Add changelog for 62.1David Runge2022-04-051-0/+8
| | | | | CHANGELOG.rst: Add changelog for 62.1
* Merge remote-tracking branch 'tpowa/crda'David Runge2022-04-051-1/+0
|\ | | | | | | | | * tpowa/crda: remove crda, removed from core recently
| * remove crda, removed from core recentlyTobias Powalowski2022-04-051-1/+0
|/
* Revert "Merge remote-tracking branch 'origin/merge-requests/239'"nl67202022-04-047-23/+0
| | | | | | | People get scared by it. See https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/239#note_61954. This reverts commit b5011af3f4ac63214fdecef442550cce5ae4a971, reversing changes made to 07d8035624cff64e28f1148ddec9e970e26173da.
* CHANGELOG.rst: version 62nl67202022-03-311-3/+9
|