Commit graph

67 commits

Author SHA1 Message Date
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
Marcos Mello d9b36c1c17 Add dovnc boot option
Fixes systemrescue/systemrescue-sources#228
2021-11-07 07:29:53 -03: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
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 9903a1826b Remove haveged (#186) 2021-02-27 13:58:29 +00:00
Marcos Mello 2e080ab4ba Cosmetic: empty line at the end of /etc/issue 2021-02-20 20:51:06 -03: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
Marcos Mello a5ab9a21a8 update serial-getty@.service to support 57600 baud rate
See:

7fe7547ba3
2020-10-16 07:12:08 -03:00
fdupoux 5a89b6e3cf Updated /etc/issue 2020-10-03 08:55:37 +01: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 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
fdupoux 3a8114abd0 Added an alias for the lsblk command 2020-08-24 21:09:21 +01:00
fdupoux 5e2fe1119b Increase NM_ONLINE_TIMEOUT from 10 to 20 seconds (#120) 2020-08-05 07:54:44 +01:00
fdupoux ddd5633b72 Updated path to python3 2020-08-03 20:44:48 +01:00
Francois Dupoux 8346de7c27 Merge branch 'path-sbin' into 'master'
Add /sbin to PATH for chroot environments (#126)

See merge request fdupoux/sysresccd-src!69
2020-08-03 19:42:58 +00:00
Richard DUMAIS 97680ce9ed permit httpS to download autorun scripts 2020-08-03 15:31:18 +02:00
fdupoux ea016587a5 Add /sbin to PATH for chroot environments (#126) 2020-08-01 09:19:40 +01:00
fdupoux d2f290f8e8 Copy autorun scripts to new location when copytoram is enabled (#126) 2020-07-25 14:49:56 +01:00
Marcos Mello 14cf12d01b findroot hook: use initcpio cmdline variable
Arch's initcpio automatic creates global variables in the form of
variable=y to kernel command line options without a suffix.

See parse_cmdline_item():

https://git.archlinux.org/mkinitcpio.git/tree/init_functions
2020-07-10 16:21:42 -03:00
Francois Dupoux 967c1fbab9 Merge branch 'drop-netctl' into 'master'
Drop netctl in favor of systemd-networkd and systemd-resolved

Closes #75

See merge request fdupoux/sysresccd-src!58
2020-07-04 13:10:35 +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
Marcos Mello 98ce6fc461 Lower timeout limit for NetworkManager-wait-online.service
Default is 30 seconds. 10 seconds shall be enough.
2020-06-28 21:17:06 -03:00
Francois Dupoux b109e8dbab Autorun should only run after the network is fully configured (#120) 2020-06-28 07:15:15 +00:00
Marcos Mello 246b170f5f Enable serial console autologin
Fixes fdupoux/sysresccd-src#113
2020-05-27 16:01:04 -03:00
fdupoux 3760fed011 Allow the user to choose which device to boot from if there are multiple systems found 2020-05-17 15:28:35 +01:00
fdupoux 88a82c0662 Added support for booting from luks encrpyted devices in findroot 2020-05-17 12:33:31 +01:00
fdupoux f6fa1db397 Add tools required to use encrypted devices to the initramfs 2020-05-17 10:04:41 +01:00
Francois Dupoux 63039626a6 Added new entry in boot menu to start from a Linux OS installed on the disk 2020-05-17 07:43:27 +00:00
Radek Zajic cb5fa2147d Allow all types of ICMP packets in ip6tables rules (#105) 2020-04-28 09:18:42 +02:00
Marcos Mello a02b8535bd Simplify sysresccd-initialize script (again)
One less execve().
2020-04-12 16:20:51 -03:00
Marcos Mello 42c67ee5d3 Simplify sysresccd-initialize script
Less variables, less forked processes.
2020-04-11 22:34:30 -03:00
Marcos Mello 3519d8e21a Use eurlatgr console font
Much better coverage for european based languages. See:

https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
2020-04-04 14:10:25 -03:00
Francois Dupoux 6ac40a0ff5 Merge branch 'screen-saver' into 'master'
Let xfce4-power-manager configure screen saver

See merge request fdupoux/sysresccd-src!22
2020-03-28 20:12:00 +00:00
Marcos Mello f5e630d6f8 Drop useless xset r call
Autorepeat is enabled by default in the Xorg server.
2020-03-28 15:50:10 -03:00
Marcos Mello 7628014a95 Let xfce4-power-manager configure screen saver 2020-03-28 15:42:39 -03:00
Marcos Mello 81cd60c52c Silence kernel messages in console 2020-03-16 17:03:19 -03:00
Francois Dupoux 70742f4882 Merge branch 'drop-standardoutput' into 'master'
sysresccd-initialize.service: drop StandardOutput=journal

See merge request fdupoux/sysresccd-src!16
2020-03-07 19:59:40 +00:00
Francois Dupoux 9415e0166a Merge branch 'nano-syntax' into 'master'
Enable nano's syntax highlighting

See merge request fdupoux/sysresccd-src!14
2020-03-07 18:44:25 +00:00