- 23 Jul, 2021 3 commits
-
-
Anton Midyukov authored
Booting from extlinux.conf is preferred over booting in EFI mode.
-
Anton Midyukov authored
This space can be used by single board for u-boot.
-
Anton Midyukov authored
The @META suffix is used to expand the metapackage into a list. apt asks for the dependencies of such a package and adds them to the package list after this metapackage.
-
- 28 Apr, 2021 1 commit
-
-
Michael Shigorin authored
The missing glob resulted in disk images properly partitioned only for e2kv3 ("e2k" for historical reasons in ALT), and v4+ ones only got a single ext4 partition that wouldn't work with current MCST's Boot code.
-
- 01 Feb, 2021 1 commit
-
-
Anton Midyukov authored
-
- 25 Jan, 2021 1 commit
-
-
Anton Midyukov authored
os-probe finds loopback devices.
-
- 26 Nov, 2020 1 commit
-
-
Anton Midyukov authored
While this argument can only have one "EFI" value. Thus, the problem of building an image for Raspberry Pi on armh, where there is no grub-efi, was solved.
-
- 09 Sep, 2020 1 commit
-
-
Anton Midyukov authored
extlinux.conf is not tied to the u-boot bootloader and always needed replace Label with the UUID if the file exist.
-
- 15 Jul, 2020 2 commits
-
-
Anton Midyukov authored
-
Anton Midyukov authored
Since the main goal for aarch64 and armh for us is Raspberry Pi, it is always worth creating a fat32 partition for these arches. At least for now.
-
- 22 May, 2020 1 commit
-
-
Anton Midyukov authored
For Raspberry Pi needed to build grub-efi + MBR images.
-
- 07 Apr, 2020 3 commits
-
-
Anton Midyukov authored
-
Anton Midyukov authored
tar2fs does not run in hasher and without qemu. This causes build problems for an architecture other than the host.
-
Anton Midyukov authored
If build is performed on a system with EFI Secure Boot enabled, then grub will not boot even on EFI without Secure Boot. This problem is caused by the use of the --removable option, which is not compatible with option --uefi-secure-boot the current grub. Option --uefi-secure-boot is enabled automatically if the system is booted in EFI Secure Boot mode.
-
- 03 Apr, 2020 1 commit
-
-
Anton Midyukov authored
-
- 01 Nov, 2019 1 commit
-
-
Anton Midyukov authored
There are use cases when having this common knob would be desirable.
-
- 31 Oct, 2019 1 commit
-
-
Michael Shigorin authored
I've long wanted to have this nice helper around in m-p too but might have set the bar too high. The "prorper integration" idea was to have the script check just those pkglists which are relevant for a given image IIRC. Let's toss it in to begin.
-
- 23 Oct, 2019 1 commit
-
-
Michael Shigorin authored
This code started breeding within pkg.in/*/Makefile, and it was lacking both E2K (as a generic alias, not just "e2k or e2kv4") _and_ the ability to negate selection, as in "everywhere but not on any e2k"). Let's fix all of that at once, and parallelize sed execution as well; my tests with 1000-line file containing "a b c d@!E2K e@e2k f g@!X86 h i@IA32" lines show roughly 3x higher CPU load and lower execution time (~0.3 sec vs ~0.9 sec on 801-PC). And turn that code snippet into a proper filter with inline edit capability (I've dropped the exit trap as failing to mv signals a disaster anyway).
-
- 23 Sep, 2019 1 commit
-
-
Anton Midyukov authored
This commit fixes duplication of root device entry in /etc/fstab and changes LABEL=ROOT entry with the proper one if found. Apparently this didn't hurt qemu images much though...
-
- 19 Aug, 2019 5 commits
-
-
Gleb Fotengauer-Malinovskiy authored
-
Anton Midyukov authored
This allows one not to hope that only the packages of the desired loader will be installed.
-
Anton Midyukov authored
Should be done this way in the first place it seems.
-
Anton Midyukov authored
-
Anton Midyukov authored
NB: 07-kernel change breaks multi-kernel setup! Breaks: 650e92bf
-
- 10 Jun, 2019 2 commits
-
-
Anton Midyukov authored
-
Michael Shigorin authored
Sometimes REPORT=1 just wasn't passed to make, and the build.log saved is noisy and harder to compare through diff(1); let's move the implementation out of the makefile and into a standalone script so it can be reused like this: BUILDDIR=$(sed -rn "s/^mki-image-scripts: export GLOBAL_BUILDDIR='(.*)'$/\1/p" build/build.log bin/cleanlog < build/build.log > build/reports/clean.log See "export GLOBAL_BUILDDIR=" line in the particular log (grabbing that one from stdin is not exactly trivial though).
-
- 04 Jun, 2019 2 commits
-
-
Anton Midyukov authored
Currently, only e2k requires specific disk partitioning.
-
Anton Midyukov authored
INITRD_MODULES is reset further down the script. Fixes: be75d3c3
-
- 04 Mar, 2019 2 commits
-
-
Mikhail Gordeev authored
Changing ROOTFS owner causes a problem: created image's root directory is owned by user executing make instead of root. Changing WORKDIR owner is unnecessary because it will be removed anyways.
-
Dmitriy Terekhin authored
The original commit broke system tar2fs use by accidentally moving TOPDIR definition into a separate shell execution; thanks iv@ for spotting and fixing it promptly. Co-authored-by:
Ivan A. Melnikov" <iv@altlinux.org>
-
- 25 Dec, 2018 1 commit
-
-
Ivan A. Melnikov authored
-
- 24 Dec, 2018 1 commit
-
-
Alexey Shabalin authored
...for vm images; BIOS one tested, EFI one untested yet but will be required for AArch64 VMs it seems.
-
- 29 Oct, 2018 2 commits
-
-
Michael Shigorin authored
No sense to "provide" choice when there's none.
-
Michael Shigorin authored
...so that umounts can happen reliably. Reported-by:
Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
-
- 21 May, 2018 2 commits
-
-
Michael Shigorin authored
This one supports multiple kernels (and tweaks boot labels aiming to simplify target kernel selection for the CPU at hand) instead of an earlier attempt to fill in a template. No need for the template so just drop it.
-
Michael Shigorin authored
This was crucial for e2k rescue image supporting multiple CPU versions but can be useful elsewhere.
-
- 07 Aug, 2017 1 commit
-
-
Michael Shigorin authored
The current state made vm images belong to root group, no reason to not change those to the primary group of the user building an image. kpartx -d -s could fail in some circumstances, make a safety cleanup call more verbose.
-
- 02 Aug, 2017 2 commits
-
-
Michael Shigorin authored
Somewhat ARM-like with only the bootloader bits standing out; Elbrus 2000 firmware can read ext2 and boot the kernel directly.
-
Michael Shigorin authored
No need to deduce kernel version again, just save it in a temporary file. The main reason to change what worked is that e2k kernel-image package has Linux bits named as image-$kver and not vmlinuz-$kver; the guessing logic taking all of this into account resulted in non-aesthetic patch. NB: there's a duplicating script within kernel feature; it wasn't easy to avoid this and it might differ when handling multiple kernels, I didn't think much about this now as vm images tend to ship with the sole one.
-
- 08 Feb, 2017 1 commit
-
-
Gleb Fotengauer-Malinovskiy authored
These commits are temporary, so we do not care about stuff like trailing whitespaces at all.
-