Commit graph

408 commits

Author SHA1 Message Date
Francois Dupoux
2f02fc21c1 Support for configuring early boot options using the yaml configuration files 2022-01-01 18:27:06 +00:00
Francois Dupoux
9cf1a4c83e Merge branch 'firefox-settings' into 'master'
improve Firefox default settings

See merge request systemrescue/systemrescue-sources!142
2022-01-01 11:52:55 +00:00
Gerd v. Egidy
0fa4ecb891 improve Firefox default settings
- disable telemetry and studies, remove notice tab about telemetry
- force off DNS-over-HTTPS and always use the local dns resolver.
  This allows for example to access websites in the local part of a split dns setup
- set the default search engine to DuckDuckGo
- change the homepage to the internal firefox homepage (shows a searchbar and buttons).
  This doesn't load an external page (DuckDuckGo previously) without user consent/action,
  but still provides a convenient way to search via DuckDuckGo.
2022-01-01 12:50:09 +01:00
Francois Dupoux
7de332d5c3 Merge branch 'yaml-config-part1' into 'master'
Initial support for defining the global configuration with yaml file (#170)

See merge request systemrescue/systemrescue-sources!141
2022-01-01 11:23:52 +00:00
Francois Dupoux
7c5ce8cfdf Initial support for defining the global configuration with yaml file (#170) 2022-01-01 11:23:52 +00:00
Francois Dupoux
2e90f77b0a Merge branch 'modesetting-ldd-check' into 'master'
add ldd check for modesetting_drv.so too

See merge request systemrescue/systemrescue-sources!140
2021-12-31 10:57:33 +00:00
Gerd v. Egidy
89b721e142 add ldd check for modesetting_drv.so too
modesetting_drv.so is the library that links to libgbm.so. We not only want
that libgbm.so has all dependecies satisfied, but also the lib that needs
libgbm.so in the first place.
2021-12-31 11:53:00 +01:00
Francois Dupoux
c2e9dd2518 Merge branch 'drop-mesa' into 'master'
Replace mesa and its dependency with a minimal package (#241)

See merge request systemrescue/systemrescue-sources!135
2021-12-31 09:58:16 +00:00
fdupoux
39883b02ea Replace mesa and its dependency with a minimal package to save space (#241) 2021-12-31 08:17:14 +00:00
Francois Dupoux
8ec56e336f Merge branch 'update-checks' into 'master'
Update /usr/bin/check-binaries.sh to reflect the current custom packages

See merge request systemrescue/systemrescue-sources!139
2021-12-31 08:13:31 +00:00
fdupoux
a00ea8d566 Update /usr/bin/check-binaries.sh to reflect the current custom packages 2021-12-31 08:10:34 +00:00
Francois Dupoux
aafbb2e552 Merge branch 'dummy-qxl' into 'master'
Install a dummy package to block xf86-video-qxl which is broken (#235)

See merge request systemrescue/systemrescue-sources!138
2021-12-31 08:05:03 +00:00
fdupoux
e59b144b8b Install a dummy package to block xf86-video-qxl which is broken (#235) 2021-12-30 22:29:17 +00:00
Francois Dupoux
285c3fc65c Merge branch 'python-init' into 'master'
Convert sysrescue-initialize to python (#170)

See merge request systemrescue/systemrescue-sources!136
2021-12-30 19:56:15 +00:00
fdupoux
b6f2c86c0c Remove the legacy shell version of sysrescue-initialize 2021-12-30 19:54:33 +00:00
fdupoux
0b3f0ce80e Convert sysrescue-initialize to python (#170) 2021-12-30 19:54:33 +00:00
Francois Dupoux
5d496ef056 Merge branch 'autologin-fix' into 'master'
Adapt autologin drop-ins for systemd 250

Closes #233

See merge request systemrescue/systemrescue-sources!132
2021-12-30 19:52:23 +00:00
Francois Dupoux
8010283af0 Merge branch 'offline-manual' into 'master'
add the SystemRescue website as offline documentation

See merge request systemrescue/systemrescue-sources!133
2021-12-30 14:09:33 +00:00
Gerd v. Egidy
885dce5e11 add the SystemRescue website as offline documentation 2021-12-30 14:09:33 +00:00
Francois Dupoux
6d67ceffa8 Merge branch 'backup-tools' into 'master'
add packages rdiff-backup and python-llfuse (for borg backup)

See merge request systemrescue/systemrescue-sources!134
2021-12-30 08:14:29 +00:00
Gerd v. Egidy
c21ccf722c add packages rdiff-backup and python-llfuse (for borg backup)
rdiff-backup and borg backup are two popular backup solutions for Linux.
Restoring backups is in scope for SystemRescue. While one could install
these packages via pacman, I consider being able to restore a backup too
important to rely for it on an external online repository. So I think it
really makes sense to have these included in SytemRescue.

rdiff-backup requires about 400 kB, python-llfuse about 200 kB.

This implements feature requests #211 and #215.
2021-12-30 00:51:48 +01:00
Francois Dupoux
92fde5faf3 Merge branch 'explicit-package-list' into 'master'
explicitly list some wanted packages that are currently installed through dependencies or group

See merge request systemrescue/systemrescue-sources!131
2021-12-29 18:58:18 +00:00
Marcos Mello
755ccff92f Adapt autologin drop-ins for systemd 250
Fixes systemrescue/systemrescue-sources#233
2021-12-29 15:46:34 -03:00
Gerd v. Egidy
72c612e79a explicitly list some wanted packages that are currently installed through dependencies or group
Recently SystemRescue had two regressions due to packages going missing silently (inetutils and net-tools).
This happened because these packages where pulled in through groups or dependencies and Arch decided to
either reduce the dependencies or drop them from the group. This might happen again in the future.

To reduce the possibility of this, explicitly add packages to the package list that contain tools deemed
wanted and are currently only pulled in through dependency or group. Which packages are deemed
wanted is obviously a bit subjective and could be discussed or changed if necessary.

This commit doesn't add any new packages that weren't already in SystemRescue.
2021-12-29 16:11:03 +01:00
Francois Dupoux
908e387845 Merge branch 'bring-back-inetutils' into 'master'
bring back inetutils package

See merge request systemrescue/systemrescue-sources!130
2021-12-24 07:22:40 +00:00
Gerd v. Egidy
bd051a9569 bring back inetutils package
inetutils contains programs like telnet and ftp.

It was previously part of SystemRescue. It was not explicitly listed, but pulled in
as dependency from openssh. Now openssh dropped the dependency listing, so it
silently disappeared from SystemRescue.
2021-12-23 22:41:17 +01:00
fdupoux
0476a22512 SystemRescue-8.07 2021-12-19 11:15:47 +00:00
fdupoux
42a9cd9e26 Updated ChangeLog 2021-12-19 10:19:14 +00:00
fdupoux
071c2184d0 Rename variable 2021-12-19 10:14:07 +00:00
Francois Dupoux
f4877e9267 Merge branch 'iomem-relaxed' into 'master'
set kernel parameter iomem=relaxed by default

Closes #184

See merge request systemrescue/systemrescue-sources!129
2021-12-19 09:11:29 +00:00
Gerd v. Egidy
df26cdf5cc set kernel parameter iomem=relaxed by default
Allows to programs to directly write to hardware devices, for example
for using flashrom for firmware updates.

Closes #184
2021-12-18 22:16:04 +01:00
Gerd v. Egidy
ba3a7eb06d add mechanism to add default kernel parameters during build
They are then automatically applied to all boot configurations
2021-12-18 21:55:15 +01:00
Francois Dupoux
10d7f6ff50 Merge branch 'net-tools' into 'master'
Add net-tools package (#239)

See merge request systemrescue/systemrescue-sources!128
2021-12-18 18:10:46 +00:00
fdupoux
9ef0273fdb Add net-tools package (#239) 2021-12-18 18:10:18 +00:00
fdupoux
8e9592e956 Added archinstall package 2021-12-18 18:00:19 +00:00
Francois Dupoux
a11769cf84 Merge branch 'cron-and-at' into 'master'
Add cron and at packages (#207)

See merge request systemrescue/systemrescue-sources!127
2021-12-18 13:42:12 +00:00
fdupoux
b1f0a686de Add cron and at packages (#207) 2021-12-18 13:17:15 +00:00
fdupoux
9046db784e Updated ChangeLog 2021-12-18 13:10:14 +00:00
Francois Dupoux
39056fe54c Merge branch 'pacman-snapshot' into 'master'
Use snapshot archive repo for pacman in SystemRescue by default

Closes #237

See merge request systemrescue/systemrescue-sources!124
2021-12-18 13:05:35 +00:00
Francois Dupoux
68f37ee3f4 Merge branch 'archiso-shutdown' into 'master'
Remove archiso_shutdown mkinitcpio hook

See merge request systemrescue/systemrescue-sources!126
2021-12-18 13:02:01 +00:00
Francois Dupoux
7e4e7ac86c Merge branch 'no-ldconfig' into 'master'
disable the ldconfig run as it can unnecessarily slow down boot

See merge request systemrescue/systemrescue-sources!125
2021-12-18 12:57:38 +00:00
Marcos Mello
f1132ca0e8 Remove archiso_shutdown mkinitcpio hook
It has been superseded by native mkinitcpio (since v16) solution:

- systemd-tmpfiles (via /usr/lib/tmpfiles.d/mkinitcpio.conf fragment) creates /run/initramfs directory during boot.
- Before shutdown, mkinitcpio-generate-shutdown-ramfs.service (enabled by default) populates /run/initramfs using sd-shutdown hook.

Albeit not strictly required, drop it from build.sh too.

See:

2fa0eb25d4
e785ee2cee
7123888493
2021-12-14 15:27:18 -03:00
Gerd v. Egidy
5799891875 disable the ldconfig run as it can unnecessarily slow down boot
The ldconfig service ("Rebuild Dynamic Linker Cache") updates /etc/ld.so.cache when it is
older than some preconfigured age. This increases boot time, especially when airootfs is
on a slower media, like a DVD-ROM drive or NFS. Since System Rescue doesn't change over time,
keeping the original file from release is fine.
2021-12-12 11:33:21 +01:00
Gerd v. Egidy
1c538c21d8 prevent update of the linux kernel in the pacman-rolling configuration
You can't easily update the kernel from within a running System Rescue.
Updating the kernel will create conflicts of the new kernel modules and the still running kernel.

This has been a problem in the past, see for example #238. So better prevent it.
2021-12-12 11:27:53 +01:00
Gerd v. Egidy
4421a2bc75 Use snapshot archive repo for pacman in SystemRescue by default
This prevents huge dependency downloads by pacman when the SystemRescue version gets older
by using a snapshot repo from the day the SystemRescue version is released.

The classic rolling repos from Arch are also available as option. Activate with the
"--config /etc/pacman-rolling.conf" option to pacman.

To allow switching on a per-command basis, two different sets of remote package databases
are required. But the local package database must be the same for both variants. This
is achived by using two different DBPaths in the pacman config files and bind-mounting
the local part together. pacman does not accept symlinks for this, so it must be a bind mount.
2021-12-06 21:06:23 +01:00
Gerd v. Egidy
1b1e63c883 Build image based on defined repo snapshot date
The repo snapshot date is determined automatically by a query to the archive mirror.
You can also set a different snapshot date with the -s option.

Before always the current packages were used. Use defined snapshots instead,
because a future commit will switch pacman within the image to use the snapshot too.
2021-12-05 00:10:40 +01:00
Francois Dupoux
dc24c20e92 Merge branch 'pacman-init' into 'master'
Sync pacman-init.service with upstream archiso

See merge request systemrescue/systemrescue-sources!123
2021-12-03 07:28:55 +00:00
Marcos Mello
57ddbd000e Sync pacman-init.service with upstream archiso
See:
d0d4fa56cb
2021-12-02 15:38:21 -03:00
Francois Dupoux
28e59265fd Merge branch 'os-release' into 'master'
Customize /etc/os-release for SystemRescue

Closes #236

See merge request systemrescue/systemrescue-sources!122
2021-12-02 18:03:09 +00:00
Gerd v. Egidy
63723d5931 Customize /etc/os-release for SystemRescue
Without this patch /etc/os-release contains stock data from Arch Linux
that does not really fit SystemRescue.

Fixes #236
2021-12-02 12:33:26 +01:00