Commit graph

48 commits

Author SHA1 Message Date
Francois Dupoux 770fc6bf15 Update check-binaries.sh script with new custom packages 2022-04-10 18:58:54 +01:00
Gerd v. Egidy a100257d96 Add script and config.yaml parameter for late-loading of SystemRescueModules 2022-03-27 14:07:38 +00:00
Francois Dupoux afcebda039 Merge branch 'xorriso-parameter-check' into 'main'
ensure that the installed xorriso version supports the -drive_access parameter

See merge request systemrescue/systemrescue-sources!179
2022-02-23 17:58:17 +00:00
Francois Dupoux 860df60dab Fix the type of the default definition of parameter "ar_attempts" (#266) 2022-02-23 07:19:31 +00:00
Gerd v. Egidy aa6dac4bb4 ensure that the installed xorriso version supports the -drive_access parameter 2022-02-22 21:11:56 +01:00
Francois Dupoux c15d70c558 Added support for loading remote yaml configuration files over http/https (#254) 2022-01-30 09:17:14 +00:00
fdupoux 21bd2294db Update exit status if there are errors in /usr/bin/sysrescue-configuration.lua 2022-01-29 17:59:54 +00:00
Francois Dupoux 0f0d899552 Allow to use option sysrescuecfg to restrict which local yaml config files to process (#254) 2022-01-29 12:34:03 +00:00
fdupoux 520b80e65e Improve processing of options passed on the boot command line 2022-01-28 21:50:17 +00:00
Francois Dupoux 35bd8314f3 Use generic logic for overriding config entries from values in yaml config files (#251) 2022-01-28 20:34:23 +00:00
Francois Dupoux ca6bcd6548 Implement the primary configuration processing script in lua (#251) 2022-01-26 20:07:53 +00:00
Gerd v. Egidy 0d040c97f8 add the directory names for --auto mode to the help output 2022-01-15 22:50:57 +01:00
Gerd v. Egidy 90d494026f fix confusion of sysrescue-customize and systemrescue-customize in online help
The script is called "sysrescue-customize", so make sure to use that everywhere.
2022-01-15 22:43:13 +01:00
Gerd v. Egidy 770ce976ba fix typo in help message of systemrescue-customize 2022-01-11 23:51:36 +01:00
Gerd v. Egidy 048c1724bf easy way to use squashfs pseudofile: allows to override mode uid gid of files in the SRM
When using a non-root user to execute sysrescue-customize with the srm building function,
you won't have the rights to create files owned by root. When you want to keep the build_into_srm
dir in a git tree, you won't be able to store the file mode there. But using a specific file
mode is important for example for /root/.ssh

The mksquashfs pseudo file allows to solve this by overriding individual file modes like this:

cat <<EOF >recipe_dir/build_into_srm/.squashfs-pseudo
/root/.ssh m 700 root root
/root/.ssh/authorized_keys m 600 root root
EOF
2022-01-10 22:47:21 +01:00
fdupoux 13723f10b0 Rename default yaml config files 2022-01-09 17:19:53 +00:00
Gerd v. Egidy e66518dbae add sysrescue-customize script: allows to modify existing SystemRescue .iso images 2022-01-09 17:14:40 +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
fdupoux a00ea8d566 Update /usr/bin/check-binaries.sh to reflect the current custom packages 2021-12-31 08:10:34 +00:00
Gerd v. Egidy 885dce5e11 add the SystemRescue website as offline documentation 2021-12-30 14:09:33 +00:00
fdupoux 77dbde7a8b Add dump/restore utilities (#226) 2021-11-07 11:16:00 +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
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 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 5f5077b683 Updated comments regarding the use of pacman (#150) 2020-09-27 20:19:51 +01:00
fdupoux 45d27a0be6 Rename project : SystemRescueCd ==> SystemRescue 2020-09-12 11:47:11 +01:00
fdupoux b01a28b996 Added ddrescue to the program inventory 2020-08-24 21:14:12 +01:00
fdupoux 23680c2796 Added ntfs-3g-system-compression (#134) 2020-08-09 10:20:38 +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
fdupoux 8d00266201 Fixed typo in the program inventory 2020-08-04 07:51:06 +01:00
fdupoux 9ac352f7fa Added chntpw to the program inventory 2020-07-28 08:45:50 +01:00
fdupoux 4505e50773 Updated program inventory (#119) 2020-06-27 15:19:52 +01:00
fdupoux 6db98e2611 Added minicom and picocom serial communication programs 2020-06-27 15:12:41 +01:00
fdupoux 5d8c3120a1 Updated programs inventory 2020-04-17 17:21:06 +01:00
fdupoux d44d952eae Added offline manual 2020-04-13 17:23:55 +01: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 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
fdupoux 043890b999 Parameterize architecture in build.sh 2020-02-01 14:28:39 +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
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