Commit graph

60 commits

Author SHA1 Message Date
Nick Chevsky 023ef86591 SystemRescue+ZFS 12.00+2.3.1
🌎 External changes:
- 🚀 Upgrade SystemRescue to v12.00 and archzfs to v2.3.1.
-  Add a no-firewall boot entry to the GRUB and SYSLINUX menus.
  (If you'd like to vote for this to become the default boot entry,
  leave a 👀 reaction on this release.)
- 🪶 Replace Firefox with the more lightweight GNOME Web (`epiphany`).
- ✂️ Remove packages `b43-fwcutter`, `darkhttpd`, `discount`, `dkms`,
  `geany`, `irssi`, `keepassxc`, `linux-atm`, `qtpass`, `xorg-bdftopcf`,
  `xorg-mkfontscale`, `xorg-sessreg`, `xorg-smproxy`, `xorg-x11perf`,
  `xorg-xcmsdb`, `xorg-xcursorgen`, `xorg-xdriinfo`, `xorg-xgamma`,
  `xorg-xkbevd`, `xorg-xkbprint`, `xorg-xkbutils`, `xorg-xlsatoms`,
  `xorg-xlsclients`, `xorg-xpr`, `xorg-xrefresh`, `xorg-xsetroot`,
  `xorg-xvinfo`, `xorg-xwd`, `xorg-xwud`, `yubikey-manager`, and
  `yubikey-personalization-gui`.
- 🛠️ Fix reference to Featherpad (now Mousepad) left behind in
  `issue(5)` by v11.02+2.2.6.
- 🛠️ Make the image's volume label ISO-9660-compliant.

Closes #17.
2025-04-07 21:46:59 -05:00
Francois Dupoux 6c0d70f47b
Update hugo command line to build docs 2024-12-06 19:40:50 +00:00
Francois Dupoux 4ed9e06281
Update shebang in scripts to improve portability 2024-12-06 17:03:18 +00:00
Francois Dupoux 24e212c134 Removed reference to file which has been removed (#368) 2024-01-20 17:58:11 +00:00
Gerd v. Egidy 79a82cba76 add customization hooks to boot menus
Adds empty sysresccd_custom.cfg and /boot/grub/custom.cfg files that
are included from the regular boot menus (syslinux and grub). These
are intended for the user to customize.

Having dedicated files for this allows completely replacing the files.
This is easier than requiring careful patching with potential conflicts
with different versions of SystemRescue.
2023-03-11 22:18:44 +01:00
Daniel Richard G e09eb40683 add GRUB loopback.cfg support 2023-02-21 17:21:57 -05:00
Gerd v. Egidy 17e8b84fd8 use mkfs.fat instead of mformat for creating the EFI eltorito FAT boot image
mformat created images seems to have some compatibility issues, so Arch upstream
changed to mkfs.fat.

Implements #301
2022-12-16 22:57:00 +01:00
Francois Dupoux ef39280ebe Added Memtest86+ memory tester v6.00 for UEFI in the Grub boot menu (#308) 2022-12-16 18:08:09 +00:00
Gerd v. Egidy 00ccef7a07 add sysresccd/.imageinfo file to the iso image, allows systemrescue-usbwriter to determine compatibility
The upcoming systemrescue-usbwriter should work mostly independent of SystemRescue .iso version
and one systemrescue-usbwriter version should work for a wide range of SystemRescue versions.
For this to work, it has to exactly determine compatibility without any crude guesswork.
The necessary info for this is stored in the imageinfo file.

It also contains a "FORMAT_EPOCH" field that allows to explicitly declare incompatibility to older
versions of systemrescue-usbwriter in case automatic compatibility detection based on syslinux
version etc. doesn't work.
2022-11-23 22:46:05 +01:00
Gerd v. Egidy 594bf47b77 embed checksum into the .iso files created (isomd5sum)
These embedded checksums can help against accidental image corruption,
for example due to bad cache data, broken mirror servers or bad media.
They are not digital signatures and do *not* help against bad actors
manipulating the .iso image.

Images can be checked manually with the "checkisomd5" command. This
is done automatically when using the Fedora media writer or the upcoming
systemrescue-usbwriter.
2022-11-23 21:57:04 +01:00
Gerd v. Egidy 565c6d0451 only unmount chroot /dev if still mounted
The latest Arch updates changed mount behavior during build, at least that
is what I'm seeing on my machine. So only do the second unmount if the
chroot /dev is still mounted. Otherwise the build script would abort due to
the error returncode.
2022-08-05 21:29:28 +02:00
Gerd v. Egidy 6e524a040c don't enforce a changelog entry for releases with "test" in their name, same as with "beta" 2022-08-05 21:28:05 +02:00
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 e42d221593 use the same content for /etc/os-release and /usr/lib/os-release
There seem to be some programs that disregard the os-release standard
and read /usr/lib/os-release even if there is /etc/os-release

Fixes #271
2022-03-08 21:38:22 +01:00
Francois Dupoux 48746f8217 Reduce compression ratio for initramfs on i686 to prevent a crash at build time (#261) 2022-02-26 21:25:07 +00:00
Gerd v. Egidy fd6277fe49 Add development build option: faster build times but lower compression
-d option for build.sh

Regular build: 3m49s for 684M ISO
Devel build: 46s for 857M ISO

-> 80% reduction of build time in devel mode

(measured just on my devel vm, not on a broad set of hardware)
2022-01-22 17:46:16 +01:00
Gerd v. Egidy fc7e17f592 use the same file permissions (644) for the initramfs image as for the other files on the ISO 2022-01-19 23:15:34 +01:00
Gerd v. Egidy 7cbf44e029 don't recompress, but just uncompress the kernel modules: mksquashfs will be better able to compress them 2022-01-19 21:51:30 +01:00
Francois Dupoux 1f1cf71806 Recompress kernel modules to save disk space (#247) 2022-01-19 07:59:37 +00:00
fdupoux bc817e38bb Allow autorun scripts to be located in a folder at the root of the ISO 2022-01-08 17:14:01 +00:00
Francois Dupoux e037cc089c Name the folder for configuration files "sysrescue.d" rather than "config.d" (#170) 2022-01-03 13:39:43 +00:00
fdupoux cc4b91806c Delete the download page from the offline website 2022-01-03 11:04:17 +00:00
Francois Dupoux 7c5ce8cfdf Initial support for defining the global configuration with yaml file (#170) 2022-01-01 11:23:52 +00:00
Gerd v. Egidy 885dce5e11 add the SystemRescue website as offline documentation 2021-12-30 14:09:33 +00:00
fdupoux 071c2184d0 Rename variable 2021-12-19 10:14:07 +00:00
Gerd v. Egidy df26cdf5cc set kernel parameter iomem=relaxed by default
Allows to programs to directly write to hardware devices, for example
for using flashrom for firmware updates.

Closes #184
2021-12-18 22:16:04 +01:00
Gerd v. Egidy ba3a7eb06d add mechanism to add default kernel parameters during build
They are then automatically applied to all boot configurations
2021-12-18 21:55:15 +01: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
Marcos Mello f1132ca0e8 Remove archiso_shutdown mkinitcpio hook
It has been superseded by native mkinitcpio (since v16) solution:

- systemd-tmpfiles (via /usr/lib/tmpfiles.d/mkinitcpio.conf fragment) creates /run/initramfs directory during boot.
- Before shutdown, mkinitcpio-generate-shutdown-ramfs.service (enabled by default) populates /run/initramfs using sd-shutdown hook.

Albeit not strictly required, drop it from build.sh too.

See:

2fa0eb25d4
e785ee2cee
7123888493
2021-12-14 15:27:18 -03: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
Gerd v. Egidy 1b1e63c883 Build image based on defined repo snapshot date
The repo snapshot date is determined automatically by a query to the archive mirror.
You can also set a different snapshot date with the -s option.

Before always the current packages were used. Use defined snapshots instead,
because a future commit will switch pacman within the image to use the snapshot too.
2021-12-05 00:10:40 +01: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
Manolis Stamatogiannakis 41083cecc0 Include any SystemRescueModules files present in srm directory in the produced iso. 2021-05-24 21:43:16 +02:00
Marcos Mello 2af06d4f7c Use correct mirrorlist for 32-bit version
Fixes systemrescue/systemrescue-sources#188
2021-04-22 17:01:36 -03:00
fdupoux 6642257dca Updated archlinux mirrorlist address 2021-01-09 08:58:31 +00:00
fdupoux e864193b24 Strip large binaries (#174) 2020-12-14 20:04:32 +00:00
fdupoux 97c1cee96b Added edk2-shell boot entry in UEFI boot menu (#159) 2020-10-19 21:57:08 +01:00
fdupoux f054fb65e3 Updated the ISO label 2020-09-28 08:06:00 +01:00
fdupoux 51574e9fed Revert original name when related to boot config 2020-09-13 20:51:08 +01:00
fdupoux a9a28c54d5 Update website address 2020-09-13 13:42:13 +01:00
fdupoux 31a6662e34 Change ISO image naming pattern 2020-09-12 17:13:53 +01:00
fdupoux 45d27a0be6 Rename project : SystemRescueCd ==> SystemRescue 2020-09-12 11:47:11 +01:00
fdupoux 6bd8322c34 Fix for ArchLinux bug FS#67411 2020-07-27 19:50:47 +01:00
Marcos Mello b1fe4911fd Reorder make_customize_airootfs() and make_setup_mkinitcpio() in build.sh
Also remove unnecessary commented lines.

No functional change.
2020-07-05 16:06:34 -03:00
fdupoux 9f5932de95 Run make_customize_airootfs() before make_setup_mkinitcpio() to fix #109 2020-05-25 09:26:38 +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
fdupoux 15576d33af Automatically rename 64bit architecture in ISO file name 2020-04-13 13:50:48 +01:00
Marcos Mello b89e1ed94a Use rm -f when removing customize_airootfs.sh 2020-04-06 21:12:22 -03:00
Marcos Mello 3f3405049b Move hardcoded package list from build.sh to packages file 2020-04-06 15:49:14 -03:00
fdupoux fad6f9d360 Simplify support for multiple architectures 2020-03-07 16:46:09 +00:00