- 02 Sep, 2020 1 commit
-
-
nl6720 authored
- mtools supports SOURCE_DATE_EPOCH. - The image file is operated on directly instead of mounting the file system. This is a prerequisite to limit the commands that run with root privileges. Related to archlinux/archiso#40 . - Add a reminder comment to not get rid of the dosfstools dependency, since a mformat made FAT image can fail to boot on some systems.
-
- 25 Aug, 2020 2 commits
-
-
David Runge authored
**archiso/mkarchiso**: In d90184a7 the unbound variable `override_install_dir` was introduced by accident. It is required to be set to empty string to provide override functionality for `install_dir`. Fixes #57
-
David Runge authored
**archiso/mkarchiso**: Change all override option parameters (i.e. `-A`, `-C`, `-D`, `-L`, `-P` and `-g`) to not directly override the global variable they are tied to, but instead using an `override_` prefixed variable. Add `_set_overrides()` to use `override_` prefixed variables (if set) to override those without a prefix. Remove `-B` (a profile directory) from the list of parameters. The profile directory is now provided as separate non-option parameter. Add a call to `_read_profile()`, `_set_overrides()` and `command_build_profile()` to the fallthrough option of the switch-case checking `command_name` - a non-option parameter to mkarchiso. This effectively provides the possibility to set the profile directory using a non-option parameter, while still maintaining compatibility to legacy named arguments used in the configs' `build.sh` scripts. Extend the warning in regards to legacy `build.sh` based commands to mkarchiso by providing an EOL with archiso v49. Change the help output to reflect the changes and further elaborate on the legacy commands used by `build.sh` scripts. Change help output to be ordered alphabetically. Add help output for `-r` and `-g` options. Call `_set_overrides()` for legacy commands that accept one or more of the overriden options (i.e. `command_init`, `command_install`, `command_prepare` and `command_iso`). Various style fixes. **configs/{baseline,releng}/build.sh**: Change call to mkarchiso to use the profile's directory as a named argument instead of an option-argument. **README.rst**: Fix documentation on how to call mkarchiso with a profile directory. Fix wording and ordering of option arguments for run_archiso documentation. Fixes #52
-
- 21 Aug, 2020 1 commit
-
-
nl6720 authored
Fixes to issues introduced in archlinux/archiso!59 : - _make_boot_on_fat(): copy initramfs from "${airootfs_dir}/boot/" not "${isofs_dir}/". Otherwise UEFI-only ISOs cannot be built. Some general fixes: - Replace mkdir with install. Unlike mkdir, install does not complain when the target exists. - Reduce excess newlines produced by messages. - Ensure FAT image gets unmounted in case the script is interrupted. - Create the ext4 image with mkfs.ext4 instead of truncate. - Do not rely on user and group names for chown commands. Use numeric UID and GID instead. - Minimize the times stderr is redirected to /dev/null. - Add missing '?' to getopts. - Standardize function definitions by removing spaces between the function name and () .
-
- 18 Aug, 2020 3 commits
-
-
nl6720 authored
Use "${airootfs_dir}". Fixes a mistake introduced when rebasing archlinux/archiso!64 .
-
nl6720 authored
Joliet ensures correct file names capitalization on operating systems that support Joliet but not support Rock Ridge. Implements archlinux/archiso#45 .
-
nl6720 authored
Fixes archlinux/archiso#42 .
-
- 17 Aug, 2020 6 commits
-
-
nl6720 authored
Replace build.sh scripts with calls to mkarchiso -B "profiledir" build_profile. Fixes archlinux/archiso#37 .
-
nl6720 authored
There is nothing useful in /boot for the live system.
-
nl6720 authored
Boot mode names are: - bios_syslinux.mbr: SYSLINUX in MBR - bios.syslinux.eltorito: SYSLINUX (ISOLINUX) via El Torito - uefi-x64.systemd-boot.esp: systemd-boot on ESP in MBR - uefi-x64.systemd-boot.eltorito: systemd-boot on ESP via El Torito It is not yet possible to create an ISO with only El Torito or only MBR boot modes!
-
nl6720 authored
Adapt _make_* functions to mkarchiso. Related to archlinux/archiso#37 .
-
nl6720 authored
Nothing is implemented yet! configs/releng/profiledef.sh: A test profile.
-
nl6720 authored
Quote all variables. Terminate option processing using '--' for commands that support it. Do not hardcode file descriptor. Compare integers with arithmetic comparison instead of string comparison. Replace echo with printf. Use heredoc for usage text. Don't print INFO messages when quiet is set. Export SOURCE_DATE_EPOCH.
-
- 30 Jul, 2020 2 commits
-
-
nl6720 authored
archiso/mkarchiso: Add the -rational-rock option to xorriso. This is a preparatory step for creating ISOs as a regular user. See archlinux/archiso#40 .
-
nl6720 authored
-
- 29 Jul, 2020 1 commit
-
-
David Runge authored
LICENSE: Add GPL-3.0 license. {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}: Add SPDX license identifier. Makefile: Add SPDX license identifier. Install the `run_archiso.sh` script as global executable `run_archiso`. Use -D and -t flags to install to install files more generically (without a previous call to install the directory). README.rst: Add README outlining the project's scope, how to build images from the profiles and how to test. AUTHORS.rst: Add list of all direct contributors to the repository. CONTRIBUTING.rst: Add basic contribution guidelines, explaining the linter and the license in use. Closes #7 Closes #3
-
- 30 Jun, 2020 1 commit
-
-
David Runge authored
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".
-
- 29 Jun, 2020 1 commit
-
-
David Runge authored
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
-
- 03 Sep, 2019 1 commit
-
-
Christian Hesse authored
Signed-off-by:
Christian Hesse <mail@eworm.de>
-
- 09 Jan, 2019 1 commit
-
-
Christian Hesse authored
Signed-off-by:
Christian Hesse <mail@eworm.de>
-
- 26 Jul, 2018 1 commit
-
-
Christian Hesse authored
Using the sync operation with list option fails with --sysroot when signed database files are around. Instead use the query operation, which uses the local databases of installed pakages only. The only downside is that we do no longer record the originating repository. Signed-off-by:
Christian Hesse <mail@eworm.de>
-
- 25 Jun, 2018 1 commit
- 24 Jun, 2018 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 23 Jun, 2018 1 commit
-
-
Gerardo Exequiel Pozzi authored
Fix for FS#58473 Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 17 Jun, 2018 1 commit
-
-
Sean Enck via arch-releng authored
The '-d' in pacstrap is a noop nowadays, keeping it may cause confusion Signed-off-by:
Sean Enck <enckse@gmail.com>
-
- 18 Oct, 2017 1 commit
-
-
Christian Hesse authored
Nobody wants to use md5 these days... Signed-off-by:
Christian Hesse <mail@eworm.de>
-
- 02 Mar, 2016 1 commit
-
-
Gerardo Exequiel Pozzi authored
FS#48382
-
- 28 Feb, 2016 1 commit
-
-
Thomas Bächler authored
A new option -g <keyid> is added to set the key id. The squashfs files are only signed if this option is set.
-
- 28 Sep, 2015 1 commit
-
-
Gerardo Exequiel Pozzi authored
If old behaviour is needed use "... -s sfs prepare". Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 21 Apr, 2015 1 commit
-
-
Christian Hesse authored
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>
-
- 27 Jan, 2015 1 commit
-
-
Gerardo Exequiel Pozzi authored
This is the first attemp to test overlayfs in archiso. The current dm-snapshot mode is keep and is enabled by default, while the new mode is enabled via "-s sfs" to mkarchiso. No new boot parameters are added, since archiso hooks detects if the .sfs file is for dm-snapshot (airootfs.img inside) or for overlayfs. Persistence is supported in overlayfs mode using the same options (cowlabel or cowdevice), but warning while in dm-snapshot mode, only one file is used (airootfs.cow), in overlayfs mode internal files for workdir/ and upperdir/ are allocated, so you can not use VFAT or NTFS. To test this, you need to enable [testing] in pacman.conf from releng profile and edit build.sh then add "-s sfs" in make_prepare() Look at: setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare Replace with: setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -s sfs -D "${install_dir}" prepare The build requires just half of space that the build for dm-snapshot, since there is no ext4 img ;) Just to remember: there is no space gain in .sfs (just about 2M) There is at least one thing during boot with machine-id service: Dec 24 03:31:39 archiso systemd-machine-id-commit[183]: Failed to unmount transient /etc/machine-id file in our private namespace: Invalid argument Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 22 Aug, 2014 1 commit
-
-
Gerardo Exequiel Pozzi authored
Remove unused feature, just to save space sizeof ext4 image (empty): 4.3M vs 403K (du airootfs.img) sizeof used space (empty): 48M vs 20K (df) Thanks Christian Hesse for initial tip. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-
- 28 Jun, 2014 8 commits
-
-
Gerardo Exequiel Pozzi authored
-
Gerardo Exequiel Pozzi authored
This is done better with run_once() in build.sh
-
Gerardo Exequiel Pozzi authored
This is done better with run_once() in build.sh
-
Gerardo Exequiel Pozzi authored
-
Gerardo Exequiel Pozzi authored
This is a task done in some way by run_once() on build.sh
-
Gerardo Exequiel Pozzi authored
Also remove _show_space_usage() irrelevant now when fs size is fixed and big
-
Gerardo Exequiel Pozzi authored
-
Gerardo Exequiel Pozzi authored
* Make it ISO9660 friendly (extra dot "." is replaced by "_") * Was used when support both .fs.sfs and .sfs
-