Commit graph

52 commits

Author SHA1 Message Date
Gerd v. Egidy 9a0e4acd16 deliver SystemRescue with an already initialized pacman key database
Initializing the pacman key database during boot can take considerable time
and there is no locking during this time against concurrent file access.
This can lead to problems when installing packages soon after reboot.
This also speeds up the boot process.

Additional disk space requirement is about 1 MByte.

Fixes #290
2022-07-24 23:11:11 +02:00
Gerd v. Egidy e87660beeb execute sysrescue-configuration.lua only once
Before this patch sysrescue-configuration.lua was executed twice each boot:
(1) during initramfs stage (2) in the regular system as sysrescue-configuration.service

While in theory both runs should create the same output, this isn't guaranteed and
differences could appear for example because of network issues. Finding and debugging
these is difficult because the output of sysrescue-configuration.lua created during
initramfs isn't available anymore when the final system is running.

This patch lets sysrescue-configuration.lua just run once during initramfs. The
output JSON file is then written to the new tmpfs mounted dir /run/archiso/config/.
This dir is also made the new default location for sysrescue-effective-config.json.

A symlink from /etc/sysrescue/sysrescue-effective-config.json to the new location
is created for compatibility with previous releases.
2022-04-25 20:31:18 +02:00
Francois Dupoux ca6bcd6548 Implement the primary configuration processing script in lua (#251) 2022-01-26 20:07:53 +00:00
Gerd v. Egidy 4df6386059 delete unnecessary files (stray kernel image, unnecessary grub picture) 2022-01-19 21:52:41 +01:00
Gerd v. Egidy 885dce5e11 add the SystemRescue website as offline documentation 2021-12-30 14:09:33 +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
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 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
fdupoux d2742521c1 Fix for a filename change 2021-11-07 11:17:48 +00:00
fdupoux 083ce86feb Remove unneeded qcom firmware files (#219) 2021-11-07 08:39:57 +00:00
Marcos Mello 3180a29dc2 Disable kernel Audit
Fixes systemrescue/systemrescue-sources#200
2021-06-05 15:41:29 -03:00
fdupoux d2966b4a0f Dropped joe (package removed upstream) 2021-05-08 14:05:00 +01:00
fdupoux 0ed7569e05 Updated names for XFCE-4.16 desktop files 2020-12-25 16:00:01 +00:00
fdupoux 3ee74c3d82 The qemu guest agent service has been renamed 2020-11-08 12:23:10 +00:00
fdupoux 45d27a0be6 Rename project : SystemRescueCd ==> SystemRescue 2020-09-12 11:47:11 +01:00
fdupoux c8c2e9f1c5 Add and enable qemu-guest-agent (#148) 2020-09-10 08:18:12 +01:00
fdupoux 8350791321 Cleanup XFCE application menu 2020-08-22 16:52:44 +01:00
fdupoux 4f4bc82140 Update list of irrelevant firmware files 2020-08-22 16:37:49 +01:00
fdupoux fd151c61d0 Mask more irrelevant timer units (#140) 2020-08-19 08:01:11 +01:00
fdupoux fa1ed4e89f Renamed the custom package repository (custompkgs => sysrescuerepo) 2020-08-09 10:02:54 +01:00
fdupoux 3ec200b70a Added hexedit and ghex hexadecimal text editors (#135) 2020-08-09 09:27:58 +01:00
fdupoux e039170e31 Test binaries from custom packages during the build (#133) 2020-08-05 20:21:54 +01:00
Marcos Mello 835b45f3b1 Keep /root permissions as 750
d39e2ba41b
2020-08-04 21:46:11 -03:00
fdupoux 78a5b5f4d3 Remove new large firmware: /usr/lib/firmware/mrvl/prestera 2020-07-25 17:13:31 +01:00
fdupoux b0c7e805c1 Do not replace /etc/resolv.conf 2020-07-04 14:57:30 +01:00
Francois Dupoux 063f25da02 Merge branch 'cleanup-gcclibs' into 'master'
Remove large gcc-libs libraries (libgphobos and libgfortran)

See merge request fdupoux/sysresccd-src!56
2020-07-04 13:11:41 +00:00
Marcos Mello efd0d23dd2 Drop netctl in favor of systemd-networkd and systemd-resolved
* Following upstream archiso

* NetworkManager stays as default in SystemRescueCd

* Explicitly symlink /etc/resolv.conf to /run/NetworkManager/resolv.conf
  to make clear NetworkManager is in charge

Closes fdupoux/sysresccd-src#75
2020-06-29 15:37:29 -03:00
fdupoux f5c2bc5598 Remove large gcc-libs libraries (libgphobos and libgfortran) 2020-06-28 09:35:10 +01:00
fdupoux 98142cc2ba Remove /usr/share/man/man3 (man pages related to development) to save 13MB 2020-06-27 14:59:50 +01:00
fdupoux d44d952eae Added offline manual 2020-04-13 17:23:55 +01:00
fdupoux 188c353adc Cleanup XFCE menu 2020-04-12 18:30:37 +01:00
fdupoux b1848c0ee8 Improve command for reporting package sizes 2020-04-12 09:29:19 +01:00
Francois Dupoux 3c107cd8ac Merge branch 'drop-iwd' into 'master'
Drop iwd

See merge request fdupoux/sysresccd-src!27
2020-04-04 08:07:53 +00:00
Marcos Mello 32d7e8d7da Drop iwd
Not used by default. We can add iwd back once it becomes a real substitute
to wpa_supplicant.
2020-04-03 17:25:05 -03:00
Marcos Mello 0b78256e3d Install ar and strings symlinks in /usr/local/bin
This way users can install binutils if they wish.
2020-04-03 17:07:02 -03:00
Marcos Mello dd1a859235 Add sound support (PulseAudio)
* pulseaudio-alsa, in addition to install PulseAudio as a dependency,
  configures ALSA to use PulseAudio.

* PulseAudio started by the systemd --user instance.

* Drop-ins allow PulseAudio start as root.

* XFCE panel configuration adjusted accordingly.

* alsa-utils is optional, but still useful for debugging purposes.

* 90-alsa-restore.rules is not useful with PulseAudio, mask it.
2020-03-12 20:06:04 -03:00
Marcos Mello 9e5d364847 Disable not useful timer units
systemctl disable is not enough because these units are enabled via symlinks
in /usr/lib/systemd/system/xxx.wants/ directory.
2020-03-08 08:55:01 -03:00
Marcos Mello 2b42e8bd34 customize_airootfs.sh: do not call chown
Unnecessary since a90fbcbf6f
2020-03-05 21:23:19 -03:00
fdupoux 8e0feb7801 Removed /usr/lib/libgo.* (reduces the ISO image by 10MB) 2020-03-01 20:36:46 +00:00
fdupoux 86fd9248de Remove keepassxc translation files to save disk space 2020-02-02 09:42:39 +00:00
fdupoux d929bb83f2 Minor fixes in customize_airootfs.sh 2020-02-01 09:52:46 +00:00
fdupoux e139159f5c Cleanup locale files using localepurge 2020-01-26 14:02:31 +00:00
fdupoux a438dc666f Removed static library files in /usr/lib (reduces the ISO image by 27MB) 2020-01-25 13:56:36 +00:00
fdupoux 43859305b9 Removed /usr/include (reduces the ISO image by 15MB) 2020-01-25 12:39:01 +00:00
fdupoux 3785c13dcd Added strings and ar commands using busybox 2020-01-25 12:36:59 +00:00
fdupoux a99914e0f1 Removed liquidio and netronome firmwares (reduces the ISO image by 28MB) 2020-01-12 10:06:57 +00:00
fdupoux 23e8470a3b Removed more files to save disk space 2019-12-29 20:48:13 +00:00
fdupoux 7c256c2799 Enabled iptables/ip6tables by default 2019-12-29 20:45:42 +00:00
fdupoux d6b31d2903 SystemRescueCd-6.0.3 2019-04-14 13:24:36 +01:00
fdupoux f2ccb777d7 SystemRescueCd-6.0.2 2019-02-21 21:27:05 +00:00