2020-09-12 12:27:37 +02:00
|
|
|
# SystemRescue
|
2019-02-02 12:22:52 +01:00
|
|
|
|
2020-02-02 10:04:30 +01:00
|
|
|
## Project website
|
2020-09-13 14:42:13 +02:00
|
|
|
Homepage: https://www.system-rescue.org/
|
2019-02-02 12:22:52 +01:00
|
|
|
|
2020-02-02 10:04:30 +01:00
|
|
|
## Project sources
|
2020-09-12 12:27:37 +02:00
|
|
|
This git repository contains SystemRescue sources files. This is based on
|
2020-08-07 18:48:20 +02:00
|
|
|
https://gitlab.archlinux.org/archlinux/archiso/
|
2020-02-02 10:04:30 +01:00
|
|
|
|
2020-09-12 12:27:37 +02:00
|
|
|
## Building SystemRescue
|
|
|
|
|
SystemRescue can be built for x86_64 or i686 architectures. It must be built
|
2020-03-07 17:18:46 +01:00
|
|
|
on archlinux if you want to build a 64bit edition, or archlinux32 if you want
|
|
|
|
|
to create a 32bit edition. The following packages must be installed on the
|
2022-11-23 21:57:04 +01:00
|
|
|
build system: archiso, grub, isomd5sum, mtools, edk2-shell, hugo.
|
2022-04-02 15:38:33 +02:00
|
|
|
|
|
|
|
|
You need to use a modified version of archiso for the build to work. This
|
|
|
|
|
version is provided in the custom `sysrescuerepo` repository. See the
|
|
|
|
|
`pacman.conf` file in the source. Either copy the `sysrescuerepo` section
|
|
|
|
|
into your `/etc/pacman.conf` or replace the whole `/etc/pacman.conf` file with
|
|
|
|
|
the one from the source. Install archiso afterwards.
|
2020-02-02 10:04:30 +01:00
|
|
|
|
|
|
|
|
The package list contains packages which are not part of the official binary
|
2022-04-02 15:38:33 +02:00
|
|
|
package repositories from Arch Linux. These packages are also provided in the
|
|
|
|
|
`sysrescuerepo` repository. If you want to rebuild them, see
|
|
|
|
|
[systemrescue-custompkg](https://gitlab.com/systemrescue/systemrescue-custompkg).
|
|
|
|
|
Create a local repository out of them with `repo-add`, host it on a webserver
|
|
|
|
|
and then adapt pacman.conf.
|
2020-02-02 10:04:30 +01:00
|
|
|
|
2021-12-30 15:09:33 +01:00
|
|
|
The build process requires the systemrescue-website repository which is included
|
|
|
|
|
as git submodule. So when checking out this repository, make sure to check out
|
|
|
|
|
the submodule too. This can be done for example with
|
|
|
|
|
`git clone --recurse-submodules https://gitlab.com/systemrescue/systemrescue-sources.git`
|
|
|
|
|
|
2020-02-02 10:04:30 +01:00
|
|
|
The build process can be started by running the build.sh script. It will create
|
|
|
|
|
a large "work" sub-directory and the ISO file will be written in the "out"
|
|
|
|
|
sub-directory.
|
2021-05-24 20:44:44 +02:00
|
|
|
|
2022-02-26 18:38:12 +01:00
|
|
|
## Building SystemRescue with docker
|
|
|
|
|
If you are not running archlinux, you can run the build process in docker
|
|
|
|
|
containers. You need to have a Linux system running with docker installed
|
|
|
|
|
and configured. You can use the scripts provided in the `docker` folder of
|
|
|
|
|
this repository.
|
|
|
|
|
|
|
|
|
|
You must export the environment variable named `sysrescuearch` before you
|
|
|
|
|
run the two helper scripts. It should be set as either `x86_64` or `i686`
|
|
|
|
|
depending on the target architecture for which you want to build the ISO image.
|
|
|
|
|
|
|
|
|
|
After this, you need to run the script which builds a new docker image, and
|
|
|
|
|
then the script which uses this docker image to builds the ISO image. The second
|
|
|
|
|
script will pass the arguments it receives to the main `build.sh` script.
|
|
|
|
|
|
|
|
|
|
For example you can build a 64bit version of SystemRescue in docker using these commands:
|
|
|
|
|
```
|
|
|
|
|
export sysrescuearch="x86_64"
|
|
|
|
|
./docker/build-docker-image.sh
|
|
|
|
|
./docker/build-iso-image.sh -v
|
|
|
|
|
```
|
2022-02-26 17:14:18 +01:00
|
|
|
|
2021-05-24 20:44:44 +02:00
|
|
|
## Including your SystemRescueModules
|
|
|
|
|
If you want to include your own [SystemRescueModules][srm], place their srm files
|
|
|
|
|
in the [srm](./srm) directory of the repository before running the build script.
|
|
|
|
|
|
|
|
|
|
[srm]: https://www.system-rescue.org/Modules/
|
2023-01-29 18:19:21 +01:00
|
|
|
|
|
|
|
|
## Project sponsors
|
|
|
|
|
|
|
|
|
|
Infrastructure for SystemRescue is sponsored by:
|
|
|
|
|
|
2023-02-04 22:29:59 +01:00
|
|
|
| [<img src="https://www.system-rescue.org/images/fastly_logo_large.png" width=150 alt="fastly">](https://www.fastly.com) | [<img src="https://www.system-rescue.org/images/netcup_logo_large.png" width=150 alt="netcup">](https://www.netcup.eu) |
|