- 09 Feb, 2024 1 commit
-
-
Anton Midyukov authored
Required mkimage 0.3.0-alt1
-
- 27 Feb, 2023 1 commit
-
-
Anton Midyukov authored
This feature complements the live image of the second stage with installation image-specific settings and scripted hooks. It is recommended to connect using +live-installer to ensure that a typical set of installer-related features is included. Unlike the install2 feature, a separate image of the second stage of 'altinst' is not built, but the live image is supplemented with installer packages in order to reduce the total volume of the iso image. Installation consists of two stages: 1. The live image is unpacked, as in livecd-install 2. Install additional packages BASE_PACKAGES and package groups THE_GROUPS as in install2. Unlike install2, only those packages that are not in the live image are placed in the main repository. This is how the size of the iso image is reduced.
-
- 27 Jan, 2023 2 commits
-
-
Anton Midyukov authored
This script does what hasn't been needed for over 10 years.
-
Anton Midyukov authored
If xorg-dri-* is not needed, just don't install it.
-
- 30 Dec, 2022 1 commit
-
-
Anton Midyukov authored
check conditions of make for equality of variables with an empty value instead of check definition. A defined but empty variable under all these conditions results errors.
-
- 02 Sep, 2022 1 commit
-
-
Anton Midyukov authored
Chroot can be two or one, work or image. Package lists of work chroot cannot take into account packages that will be installed into it after run-scripts.
-
- 03 Jun, 2022 1 commit
-
-
Anton Midyukov authored
Fix 'warning: fgrep is obsolescent; using grep -F'
-
- 02 Mar, 2022 1 commit
-
-
Anton Midyukov authored
-
- 19 Jan, 2022 1 commit
-
-
Anton Midyukov authored
When building the rpm package .gitignore is deleted. These files are necessary in order for saved profiles when building the image from git repository and from installed rpm package have been identical.
-
- 30 Dec, 2021 1 commit
-
-
Anton Midyukov authored
-
- 10 Dec, 2021 1 commit
-
-
Anton Midyukov authored
-
- 12 Apr, 2021 1 commit
-
-
Anton Midyukov authored
At the moment, the ability to select the kernel with which to boot is implemented only for grub (grub-pc, grub-efi, ieee1275boot). note that renamed STAGE1_KFLAVOUR to STAGE1_KFLAVOURS, as multiple kernels can now be added.
-
- 26 Sep, 2020 1 commit
-
-
Michael Shigorin authored
Partially reverts commit e8f63357 which has added an overlooked second `include targets.mk' which began spamming build.log immediately: /usr/share/mkimage/targets.mk:23: warning: overriding recipe for target `__profile_internal_rule' /usr/share/mkimage/targets.mk:23: warning: ignoring old recipe for target `__profile_internal_rule' *sigh*
-
- 17 Aug, 2020 1 commit
-
-
Anton Midyukov authored
This reverts commit 02a5231b. Upstream mkimage has not yet take patches to support packaging multiple kernels to ISO image. In order to avoid problems, have to revert this commit.
-
- 22 May, 2020 1 commit
-
-
Anton Midyukov authored
-
- 23 May, 2016 1 commit
-
-
Konstantin A. Lepikhov authored
stage2 only allows to run certain scripts and install packages, but sometimes one need just to copy something to stage2 (like stage1 does). How to use: put files under ./files directory with the same structure as on resulting image.
-
- 12 Jan, 2016 1 commit
-
-
Michael Shigorin authored
Thanks glebfm@ for noticing that Simply (an m-p-d product) takes no kernel inside squashfs but relies on livecd-install's 50-restore-kernel.sh hook to copy the kernel from iso9660 and regenerate initrd (which is a must anyways but requires System.map to be still around). This saves about 3 Mb in ISO size for a LiveCD using kernel-image-std-def-4.1.15-alt1.x86_64.rpm.
-
- 04 Dec, 2015 1 commit
-
-
Michael Shigorin authored
There's /usr/share/qt5/translations/ now too, handle that. OTOH we've got some CJK support already, time to split up those "cleanups" into some target locale set dependent form.
-
- 16 Nov, 2015 1 commit
-
-
Michael Shigorin authored
The issue at hand is that: /etc/tcb/USER/shadow gets USER:auth ownership (OK); /etc/tcb/USER/shadow- backup file is root:root (broken); /etc/tcb/USER/shadow.lock file is also root:root (broken). This is observed for all pseudousers created by package installation process within working chroots as well as for users created by deflogin feature; the problem is that e.g. echo USER:PASS | chpasswd will break. Looks like the cuplrit might be fakeroot/faked.
-
- 11 Jul, 2015 1 commit
-
-
Michael Shigorin authored
The flexible KFLAVOURS handling has a downside: if no packages match the regexp it's silently OK until too late, and the error is incomprehensible. Let's fix the latter at least.
-
- 09 Mar, 2015 1 commit
-
-
Michael Shigorin authored
The former install2-only "bloated binary" purge script happened to hit stage2 (which is a lot more than just install2); a kind of safety net has been stuck into it to guard installable LiveCDs against this particular cleanup but seems it was not enought for ildar@ who reported this problem almost three years after it was introduced. This change re-places the script back into install2 section; the binaries in question amount for ca. 8 Mb (except openssl ildar@ asked about); if these are deemed unneccessary within any other stage2-based subprofiles, please step up with details.
-
- 19 Sep, 2014 1 commit
-
-
Michael Shigorin authored
This function's got its argument order chosen for "aesthetical" reason of $(2) following $(1) in the macros but the logical order is exactly the opposite: we care for kernel flavour much more than for module set (which is dependent upon it). So while silent dropout of kernel-image if KFLAVOURS is set but KMODULES is empty could be fixed by testing for $(2) only, it looks like a good time to fix this discrepancy altogether.
-
- 05 Mar, 2014 1 commit
-
-
Michael Shigorin authored
This change is done to reduce ambiguity in some cases; the previous intention has been to ease navigation when staying in a particular directory, now it's been changed in favour of convenient toplevel `git grep' in fact. Both variants have their pros and cons, I just find myself leaning to this one by now hence the commit. Feel free to provide constructive criticism :) Some path-related bitrot has also been fixed while at that.
-
- 12 Aug, 2013 1 commit
-
-
Michael Pozhidaev authored
Minor fix: /boot directory is not cleaned for livecd if there are homeros-install or luwrain-install files (in addition to live-install and livecd-install being already checked).
-
- 06 Jan, 2013 1 commit
-
-
Denis Smirnov authored
-
- 31 Oct, 2012 1 commit
-
-
Mike Radyuk authored
-
- 10 Oct, 2012 1 commit
-
-
Michael Shigorin authored
The issue actually hit image.in/Makefile: "metadata" target in features.in/metadata/lib/50-metadata.mk wasn't reached even if features.in/build-distro/lib/90-build-distro.mk would ACK that the "whatever" actions included "metadata"; thus Metadata/pkg-groups.tar wasn't created and the installer silently failed to install the .base system. Let's armour the rest of the cases where the order of inclusion might be important as well.
-
- 03 Sep, 2012 1 commit
-
-
Michael Shigorin authored
hsh-initroot leaves the chroot's root directory permissions as 1775 while these should really be 755 at most; let's fix it (important for both VE and VM images, useful for rescue/livecd ones as well -- especially those with an installer onboard).
-
- 14 Jun, 2012 1 commit
-
-
Michael Shigorin authored
An initial draft of it was done half a year ago but several tricky thingies had kept the code from showing up as it was rather brittle and incomplete. This implementation involves quite a few changes all over the place but finally works good enough for live and installer images. Please pay attention to the versions of these packages: - installer-feature-setup-plymouth (0.3.2-alt1+) - branding-altlinux-sisyphus (20110706-alt2+ if used) - plymouth (0.8.3-alt20.git20110406+) See also: - http://www.altlinux.org/Branding - http://www.altlinux.org/Plymouth
-
- 21 May, 2012 1 commit
-
-
Michael Shigorin authored
Whoops, forgot to feed placeholders for git to grok the empty directories that are needed later...
-
- 25 Apr, 2012 1 commit
-
-
Michael Shigorin authored
From now on, subprofiles can include the lib/*.mk brought in by features just like image.in/ long did.
-
- 23 Apr, 2012 2 commits
-
-
Michael Shigorin authored
livecd-install support wasn't added properly; fixed (thanks glebfm@ yet again). Something like fine-grained KEEP_* might be due...
-
Michael Shigorin authored
The early version considered ISO and KOI encoding families as obsolete; the current one is a bit more wise and knows these are just /rare/. Thanks glebfm@ for #27168 research and cinnamon by slava@ for ISO-related noises at startup.
-
- 10 Apr, 2012 1 commit
-
-
Michael Shigorin authored
There were STAGE1_PACKAGES_REGEXP and MAIN_PACKAGES_REGEXP but adding more of those was postponed to avoid bloat and bitrot; THE_PACKAGES_REGEXP is needed for use/firmware now and looks like BASE_PACKAGES_REGEXP and LIVE_PACKAGES_REGEXP will be useful before too long either. Docs updated to include stage-specific package related vatiables.
-
- 09 Apr, 2012 2 commits
-
-
Gleb Fotengauer-Malinovskiy authored
sub.in/stage2/image-scripts.d/99cleanup-boot, livecd-install need /boot files too
-
Michael Shigorin authored
This kind of test was proposed by led@ to gather statistics on chroot's contents going to become squashfs (the script optimizations lowering added overhead from ~10 sec down to a subsecond range were also proposed by him). Intentionally not documented in doc/variables.txt due to the rather lowlevel nature of the probe (at least so far). The knobs involved are SQUASHFS (the additional effort kicks in only for "tight" case) and GLOBAL_SQUASHFS_SORT (must be non-empty for this extra overhead to occur). Additional experimentation is needed to find out whether the difference in squashfs size and performance is worth the trouble (seems the impact is non-zero but pretty minor).
-
- 31 Mar, 2012 1 commit
-
-
Michael Shigorin authored
There's much reason for reuse instead of duplication among the different stage2-based subprofiles. In particular, the rather monolithic driver cleanup script of the ancient is better done in several clear pieces with the final depmod run. Scripts dropping apt/rpm databases will dump pkglist first. A script purging /boot/* will honour live-install if present. Minor inno^Wfixups all over the map too.
-
- 19 Dec, 2011 1 commit
-
-
Michael Shigorin authored
As too many things started duplicating between distros proper and (e.g. corresponding) LiveCDs, it became apparent that a class of entities which end up working for THE_USER (not a sysadmin, and not a developer, just a Linux user) is in need. So THE_KMODULES will power installed basesystem and live image, while THE_PACKAGES, THE_LISTS and THE_GROUPS will participate in building those.
-
- 06 Nov, 2011 2 commits
-
-
Michael Shigorin authored
- toplevel README received some long-needed refactoring + lowlevel detail moved, well, to lowlevel READMEs - reflected more thoroughly that m-p is not about distros anymore - dropped features.in/00example/README.en: it's already out-of-date a bit, and there's no perceived need in thorough English docs so far - wiki article got split into parts and somewhat rewritten, links updated - mv doc/{CodingStyle,style.txt}
-
Michael Shigorin authored
If you make distro/live-builder.iso, the result is an image containing almost everything (short of actual full enough repository) to rebuild itself. It will attempt to configure eth0 with DHCP and reach http://ftp.altlinux.org for packages. RAM requirements start with 2Gb, self-build is accomplished on a 4Gb host with "make CLEAN=1 distro/live-builder.iso". Packages required for "make distro/syslinux.iso" get included. (some due fixups all over the place too)
-