158 Commits

Author SHA1 Message Date
Anton Midyukov
abb09ad1c1 grub, syslinux, live: add live-rescue_rw.cfg 2024-04-09 13:30:25 +07:00
Anton Midyukov
db65d01a4b live: add use/live/rescue/extra as an analogue of use/rescue 2024-04-09 08:46:37 +07:00
Anton Midyukov
e5c14a0bda Do not add menu items for SUBPROFILES
live can be used also as an installer or rescue.
For altinst and rescue is nothing changes.
2024-04-09 08:45:26 +07:00
Anton Midyukov
a0c5d6eb81 live: disable ldconfig.service by using livecd-no-ldconfig-service
Fix https://bugzilla.altlinux.org/40802
2024-04-02 00:16:48 +07:00
Anton Midyukov
d7e770b785 live: replace startup-rescue with livecd-rescue-utility in use/live/rescue 2024-03-05 00:47:46 +07:00
Anton Midyukov
4e15f87888 live: add livecd menu item for grub in use/live/base instead /use/live
This will allow build livecd without this menu item.
2024-03-05 00:47:46 +07:00
Anton Midyukov
d0423c5840 live: fix 60-live-rescue-root for works on p10
Fixing the launch command.
We remove Type=simple so that the Type=idle, that is, wait for the
bootload to complete.
Now you can turn on the network, since the login will not be lost
in messages.
2024-03-05 00:47:46 +07:00
Anton Midyukov
5679b0db4a live: add autologin root to serial tty in rescue mode 2024-02-05 17:08:58 +07:00
Anton Midyukov
2b718f5660 live: refactoring 60-live-rescue-root 2024-02-05 15:33:05 +07:00
Anton Midyukov
76024e65c0 live: fix disable /etc/issue, when rescue live 2024-01-30 22:04:39 +07:00
Anton Midyukov
3006101b48 live, grub, isolinux: new target use/live/rescue
The new target adds rescue mode to the regular livecd.
live should do not be installable, since in it serious changes
that are unacceptable for a normal system.
2024-01-07 13:18:57 +07:00
Anton Midyukov
1ef803fba8 live: fix typo in config.mk 2024-01-05 22:54:03 +07:00
Anton Midyukov
1933e20959 live: fix mistake in 90-live-cleanup-drivers 2024-01-05 22:18:34 +07:00
Anton Midyukov
00e47d0cc0 browser, live: drop use/browser/firefox/live
It looks like this package livecd-firefox is very outdated.
2023-09-21 19:44:35 +07:00
Anton Midyukov
363ba22a2e Include README of features to documentation; fix syntax & links in them 2023-03-18 21:57:39 +07:00
Anton Midyukov
2fcfcf922a Initial feature live-install
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.
2023-02-27 16:48:03 +07:00
Anton Midyukov
41238db4b3 live: do'nt mkdir /live.hooks
livecd-run-hooks runs hooks from /image/live.hooks/ by default.
2023-01-27 10:48:00 +07:00
Anton Midyukov
41b065336f check conditions of make for equality of variables with an empty value
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.
2022-12-30 19:39:43 +07:00
Michael Shigorin
476e86a01f live: add use/live/runapp
Add the possibility to directly configure the desktop app
for livecd kiosk mode to start.

This should have been done as soon as livecd-runapp
hit the streets -- livecd-{0ad,fgfs} definitely must go
as adding a line into config is trivially done near
the only place that requires them (conf.d/live.mk).

TODO: might be more generally useful for vm/* too,
      take this out into a separate feature then.

Edited: https://lists.altlinux.org/pipermail/devel-distro/2022-September/002889.html
2022-09-13 00:55:35 +07:00
Anton Midyukov
deaac1017f Save rpm and srpm lists for chroots of subprofiles and main repo
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.
2022-09-02 23:26:48 +07:00
Michael Shigorin
9695b4c1b6 features.in: fix some engrish
The proper form is "does not" here.
2022-04-08 18:06:20 +07:00
Anton Midyukov
8218b22ea0 install2, live: don't add priority base packages for these stage
This is useless and even harmful for images that include both live
and install2.
2022-03-25 09:44:10 +07:00
Anton Midyukov
71cc96685b live, repo: not enable online repo on e2k 2022-02-05 22:21:02 +07:00
Anton Midyukov
0e26261799 live: set default LIVE_REPO=http/alt instead http/yandex
Required by shaba@:
https://bugzilla.altlinux.org/show_bug.cgi?id=41588#c1
2022-02-02 16:36:07 +07:00
Anton Midyukov
9b7ecd96c5 live: add additional checks in the script for enabling online repos
Made by analogy with features.in/repo/image-scripts.d/90-enable-repo.
2022-02-02 16:36:07 +07:00
Anton Midyukov
16189bc988 live: Set piority for livecd-installer-features package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
b16288bb90 Add COMMON_LISTS variable support by analogy COMMON_PACKAGES
The commit 9969571369478c23c1abc0f5c03364c92ddd255e used this variable
even though it didn't exist yet. A good reason to add this variable.
2021-08-31 00:42:31 +07:00
Anton Midyukov
f43f250ed2 install2, live, live.mk, rescue: Add local boot for grub-pc menu (iso) 2021-04-23 23:19:37 +07:00
Anton Midyukov
a502ab1894 live: Unified use/live/rw
make-initrd-propagator >= 0.44-alt1 always create alt-live-storage.
2021-03-15 23:05:49 +07:00
Anton Midyukov
018ea50518 cleanup, live: Added target use/live/no-cleanup (docs, rpmdb)
It is customary to set a variable without the GLOBAL_ prefix. It
is added to the name when exporting.

I made by analogy use/cleanup/live-no-cleanup-docs.

Since both targets have long names and are needed together,
i made use/live/no-cleanup.

Use target use/live/no-cleanup should be used instead of:

@$(call set, GLOBAL_LIVE_NO_CLEANUPDB, yes)
2020-09-21 22:30:46 +07:00
Michael Shigorin
e02a1d25a2 live: use/live/suspend where it works
Not a given on any architecture...
2020-09-07 20:25:30 +03:00
Michael Shigorin
dc2002242b live, rescue: fixup 60-apt
There are two different versions of the script with the same
name for different subprofiles, sharing some of the same bugs
over the years, *sigh*.

Shoving those into stage2 would yield online repositories enabled
there too which *might* be wanted but will likely need installer
support (at least some better error handling, the current culprit
with unavailable repositories being apt-pkg's size estimation).

Fixes: d2f892abda0ddc02df482cef87c398906d7c93ff
Fixes: 0f4ee98fa4360dd1caf48f5d38b1e89925a66f1c
2020-09-07 20:22:09 +03:00
Anton Midyukov
d6fd23bb70 live: live-install not adapted for non-X86 2020-08-05 23:20:57 +07:00
Anton Midyukov
8bdafdc02a Revert "install2, live, live.mk: drop use/syslinux/localboot.cfg"
This reverts commit c70f18fcbade310faf55786179e2aa3539cf8187.
2020-07-16 02:41:01 +07:00
Anton Midyukov
c70f18fcba install2, live, live.mk: drop use/syslinux/localboot.cfg
On hybrid images recorded on a USB flash drive, rather than a
compact disk, this menu item loads the USB flash drive itself.
2020-05-22 13:34:37 +07:00
Anton Midyukov
1185a11821 education.mk, mixin-basealt.mk, live, slinux: Use stage2 features instead STAGE1_MODLISTS 2020-05-22 13:34:37 +07:00
Mikhail Efremov
3524d73b8c desktop.mk, live.mk, live: Get rid of acpi
Apparently we don't want it with systemd-logind.
2020-05-22 13:34:35 +07:00
Anton Midyukov
1aa6397c93 live: Not disabled crond
crond is needed for log rotation.
See-also: https://forum.altlinux.org/index.php?topic=36177.msg346822#msg346822
2020-05-01 23:49:57 +07:00
Anton Midyukov
20554501e5 install2, live: add grub.cfg support 2020-04-03 22:56:58 +07:00
Anton Midyukov
efa57b9121 live, init: move 65-os-release from live to init
Install /etc/*-release files if needed.

Reported-by: Ivan A. Melnikov <iv@altlinux.org>
2020-01-13 12:09:51 +03:00
Anton Midyukov
de8a578f87 live: switch to yandex mirror
...and drop duplication tossed in by i-f-online-repo.

See-also: https://bugzilla.altlinux.org/36952
2019-07-08 20:50:21 +03:00
Mikhail Efremov
410a00d40c live: Install /etc/*-release files if needed
Seems some other branding-*-release can be installed in live
chroot and post of needed branding-*-release package don't copy
these files.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
308901c6d4 live: Enable livecd-timezone by default 2018-07-16 20:52:16 +03:00
Michael Shigorin
77908d8a08 main, live, rescue: reorder package list variables
The places of the terms *do* affect the sum in apt's case;
start with lowlevel items like SYSTEM_PACKAGES and end with
high-level ones like THE_LISTS to reduce the chance of getting
hit by premature virtual dependency expansion/fixation.

Adapt live and rescue features accordingly.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806#c5
Suggested-by: Leonid Krivoshein <klark@altlinux.org>
2018-06-11 15:58:41 +03:00
Michael Shigorin
b92f022478 bootloader, live: arrange alterator module
...explicitly; this has been triggered by the change to
livecd-install as of 0.9.10-alt2 (doesn't R: alterator-grub
anymore to allow non-grub platforms as well).

This should be a no-op _together_ with the mentioned change
by now as grub is selected explicitly; will take more attention
for e.g. e2k as the problem just shifted here from livecd-install.

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-01-24 14:44:51 +03:00
Michael Shigorin
209c610f80 live, server, e2k.mk, regular.mk: use/services/lvm2-disable
These used to carry (or need) their own means for the same
problem of extra services consuming bootup time.
2017-08-02 22:14:45 +03:00
Michael Shigorin
31ecda7272 docs update
Another minor facelift:
- s/ALT Linux/ALT/gc (where applicable);
- s/7.0/8.0/g;
- 2017;
- e2k;
- links.
2017-06-09 19:31:42 +03:00
Michael Shigorin
4321fefc60 live, repo, rescue: use yandex mirror
...instead of (often-crowded) ftp.altlinux.org for updates.
2017-04-21 13:03:27 +03:00
Michael Shigorin
d12f702282 live: added default xfce theme setup
This is unfortunate but Sisyphus' Xfce can't really strive with its
default /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml,
namely IconThemeName; while p8's one still does pretty good.

Thanks antohami@ for his analysis and workaround suggestion.

See-also: https://bugzilla.altlinux.org/32924
See-also: https://lists.altlinux.org/pipermail/devel/2017-February/202348.html
Suggested-by: Anton Midyukov <midyukov-anton@ya.ru>
2017-02-21 19:55:41 +03:00
Michael Shigorin
ae088e3bb0 live: use CLEANUP_BASE_PACKAGES either
See the previous commit for rationale.
2016-04-04 13:05:16 +03:00