Commit graph

44 commits

Author SHA1 Message Date
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
Marcos Mello e45a3e5aa5 sysresccd-initialize.service: drop StandardOutput=journal
It is the default setting.
2020-03-07 15:43:57 -03:00
Marcos Mello ffbd2174c8 Enable nano's syntax highlighting 2020-03-07 15:25:22 -03:00
Francois Dupoux 570dd026b5 Merge branch 'drop-after-network' into 'master'
Do not order sysresccd-initialize.service after network.target

See merge request fdupoux/sysresccd-src!12
2020-03-07 08:17:42 +00:00
Marcos Mello 480175a61c Do not order sysresccd-initialize.service after network.target
It is not necessary.
2020-03-06 20:44:22 -03:00
Marcos Mello 1bbb40ffc1 Fix interactive autorun scripts
* The synchronization point is getty-pre.target to block login while autorun
  is active

* After sysresccd-initialize.service to have keyboard layout configured

* stdin/stdout/stderr conected to /dev/console to make interactive scripts work

Closes fdupoux/sysresccd-src#18
2020-03-06 20:32:47 -03:00
Marcos Mello 8c6910583b Add rootshell boot option
chsh does input validation.

Fixes fdupoux/sysresccd-src#77
2020-03-05 07:34:47 -03:00
Marcos Mello ba6a52de0d Autologin rework
* Passes through PAM (pam_systemd module) via login(1). This sets up
  systemd --user instance, which will create and listen on dbus session socket.

* login(1) is called (via agetty(8)) with -p option, keeping the environment
  pam_systemd configured for the user, most importantly
  DBUS_SESSION_BUS_ADDRESS.

* Thus dbus-launch call in /etc/X11/xinit/xinitrc is unnecessary.

* autologin.conf drop-in configured in the template unit (getty@.service)
  to make autologin work on all virtual consoles.
2020-03-03 20:21:46 -03:00
Marcos Mello e820131596 Remove useless dhcpcd udev rule
dhcpcd is gone since a62e602cf5
2020-03-01 15:42:10 -03:00
Francois Dupoux 21f20fca19 Merge branch 'fix-keymap' into 'master'
Fix and simplify keymap configuration

Closes #74

See merge request fdupoux/sysresccd-src!4
2020-02-29 11:07:31 +00:00
Marcos Mello f7dca9e0b7 Fix and simplify keymap configuration
Use localectl to set kbd and x11 keymaps.

Order sysresccd-initialize.service before getty-pre.target (pasive target,
pulled in manually) to ensure console keymap is proper configured when
getty@.service runs.

Fixes #74
2020-02-28 10:30:32 -03:00
Marcos Mello f5fed4cdae Minor sysresccd-initialize simplification
No functional change.
2020-02-28 09:45:18 -03:00
fdupoux eb0d1b98bb Update iptables config to log dropped packets 2020-01-12 12:35:58 +00:00
fdupoux 7c256c2799 Enabled iptables/ip6tables by default 2019-12-29 20:45:42 +00:00
fdupoux 3dd881cb38 Fix for dbus 2019-12-29 20:38:08 +00:00
fdupoux f2ccb777d7 SystemRescueCd-6.0.2 2019-02-21 21:27:05 +00:00
fdupoux 30483ee7df SystemRescueCd-6.0.1 2019-02-09 14:21:40 +00:00
fdupoux 5a6aec2276 SystemRescueCd-6.0.0 2019-02-02 11:22:52 +00:00