Commit graph

148 commits

Author SHA1 Message Date
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
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
Marcos Mello
57ddbd000e Sync pacman-init.service with upstream archiso
See:
d0d4fa56cb
2021-12-02 15:38:21 -03: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
Marcos Mello
54236ce107 Fix comment grammar 2021-11-11 14:38:26 -03:00
Marcos Mello
7744f40caa Make dovnc imply dostartx
Also do not append more than once to /root/.bash_profile in case both dovnc and dostartx are set.

Fixes systemrescue/systemrescue-sources#234
2021-11-10 21:13:13 -03:00
Marcos Mello
3478f96cb8 Fix vncpass= boot option 2021-11-08 11:36:15 -03:00
Francois Dupoux
9f96a25871 Merge branch 'dump' into 'master'
Add dump/restore utilities (#226)

See merge request systemrescue/systemrescue-sources!116
2021-11-07 11:23:21 +00:00
fdupoux
d2742521c1 Fix for a filename change 2021-11-07 11:17:48 +00:00
fdupoux
77dbde7a8b Add dump/restore utilities (#226) 2021-11-07 11:16:00 +00:00
Francois Dupoux
ba5e2c5e61 Merge branch 'vnc' into 'master'
Add dovnc boot option

Closes #228

See merge request systemrescue/systemrescue-sources!113
2021-11-07 10:40:51 +00:00
Marcos Mello
d9b36c1c17 Add dovnc boot option
Fixes systemrescue/systemrescue-sources#228
2021-11-07 07:29:53 -03:00
fdupoux
083ce86feb Remove unneeded qcom firmware files (#219) 2021-11-07 08:39:57 +00:00
Gerd v. Egidy
0009e91a8f Support chrooting on older systems without usrmerge
On newer systems /bin is linked to /usr/bin, the same goes for /sbin.
This is called usrmerge. Some distributions seem to have introduced
usrmerge just very recently, like openSUSE in 2021. So SystemRescue
should fully support this for years to come.

So we need /bin, /sbin and /usr/sbin in the default $PATH to make it
easy to use from within a chroot.
2021-10-25 21:00:49 +02:00
Marcos Mello
08c163345d Add noautologin boot option
Fixes systemrescue/systemrescue-sources#189
2021-10-06 16:33:35 -03:00
Marcos Mello
0538667468 Add dostartx boot option
Fixes systemrescue/systemrescue-sources#222
2021-10-05 21:07:21 -03:00
fdupoux
00a532d4f9 Update the command used to generate a password hash 2021-08-28 10:20:56 +01:00
pfeilmann
b85b58365e Add ar_attempts 2021-07-08 17:21:08 +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
Gerd v. Egidy
f04f6fe827 make nofirewall option work reliable, needs explicit systemd service ordering
Fixes #197
2021-05-03 21:21:15 +02:00
fdupoux
0c109187a0 Updated Firefox configuration 2021-02-27 14:44:11 +00:00
fdupoux
9903a1826b Remove haveged (#186) 2021-02-27 13:58:29 +00:00
Francois Dupoux
8db58818b0 Merge branch 'quiet-login' into 'master'
RFC: Enable quiet login

See merge request systemrescue/systemrescue-sources!102
2021-02-27 13:54:11 +00:00
Marcos Mello
a7bfd16f54 Enable quiet login
Quiet ("hushed") login disables email check, last login printing and message of the
day. Neither of these are useful for SystemRescue. Arch's default configuration
(/etc/login.defs) only allows per user setting (~/.hushlogin).
2021-02-24 20:22:08 -03:00
Marcos Mello
2e080ab4ba Cosmetic: empty line at the end of /etc/issue 2021-02-20 20:51:06 -03:00
fdupoux
0418e77fc3 Added /root/.config/mimeapps.list to associate PDF files with Firefox 2021-02-18 20:12:39 +00:00
fdupoux
0ed7569e05 Updated names for XFCE-4.16 desktop files 2020-12-25 16:00:01 +00:00
Francois Dupoux
9ef2d8f590 Merge branch 'reverse_ssh-python' into 'master'
reverse_ssh in python

See merge request systemrescue/systemrescue-sources!98
2020-11-21 22:48:07 +00:00
Gerd v. Egidy
7245748091 add reverse_ssh: Open a outbound SSH server connection (reverse SSH), primarily for remote support 2020-11-21 21:50:05 +01:00
fdupoux
c2392e7516 Use sub-command in cowpacman2srm to specify whether to do prepare or create 2020-11-09 20:33:58 +00:00
Gerd v. Egidy
c6352d8e8b add prepare mode to cowpacman2srm script
-p: prepare mode. Only prepares a directory with all files that would go into the SRM,
    but does not run mksquashfs. This allows further modifications by the user.
    In prepare mode the target file parameter is ignored.
2020-11-08 19:52:17 +01:00
Gerd v. Egidy
c1ab9675c5 small runtime improvement to the cowpacman2srm script
This prevents trying to create the directories twice by removing duplicate
entries from the file list. Saves about 3 seconds of runtime when testing
with the "atom" package.
2020-11-08 19:26:15 +01:00
Francois Dupoux
4661cce802 Merge branch 'cowpacman2srm' into 'master'
Add cowpacman2srm script

See merge request systemrescue/systemrescue-sources!95
2020-11-08 15:29:18 +00:00
Gerd v. Egidy
3b2eaf953b Add cowpacman2srm script
Create SystemRescueModules (SRM) from pacman packages installed into the COW space

This script is meant to help creating SystemRescueModules (SRM) for SystemRescue.
More info about SRMs and this script can be found at:
https://www.system-rescue.org/Modules/

To use first install all packages you want to have in your SRM with pacman.
Default COW (Copy-On-Write) space is a ramdisk, so you usually don't have to do anything
special except provide enough RAM.
You can also enable any systemd services that are in these packages.

Then call:
cowpacman2srm [-c compalg] [-l complevel] targetfile.srm

Copy the .srm file to archisobasedir (default: "sysresccd") on your boot disk
and add the "loadsrm" boot parameter to SystemRescue.

There is no mechanism to check if a SRM is compatible with the version of SystemRescue
you are trying to run it with. So it is higly recommended to only use this script on
the exact version of SystemRescue you plan to use the SRM with.
2020-11-08 15:29:40 +01:00
fdupoux
3ee74c3d82 The qemu guest agent service has been renamed 2020-11-08 12:23:10 +00:00
Marcos Mello
a5ab9a21a8 update serial-getty@.service to support 57600 baud rate
See:

7fe7547ba3
2020-10-16 07:12:08 -03:00
fdupoux
1aef61a7ff Check dislocker binaries using check-binaries.sh 2020-10-12 17:52:08 +01:00
fdupoux
c84c1aacfc Added dislocker to access disks encrypted using bitlocker (#46) 2020-10-12 07:56:07 +01:00
fdupoux
5a89b6e3cf Updated /etc/issue 2020-10-03 08:55:37 +01:00
fdupoux
5f5077b683 Updated comments regarding the use of pacman (#150) 2020-09-27 20:19:51 +01:00
Marcos Mello
60d4b9a5c8 Increase xfwm4 double-click time
See:
https://git.launchpad.net/xubuntu-default-settings/commit/?id=cf68186a533512e62e7532223471dffb348edd47
2020-09-26 16:04:07 -03:00
fdupoux
a9a28c54d5 Update website address 2020-09-13 13:42:13 +01: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
0334c01a96 Created keyboard shortcuts (#146) 2020-09-08 19:18:22 +01:00
fdupoux
6f184a233f Revert xfce terminal colors to default (#143) 2020-09-07 18:12:08 +01:00
fdupoux
ce66cc330e Fix ls colors (#143) 2020-09-02 20:13:52 +01:00