Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from debian/install to Makefile approach
- Loading branch information
Showing
5 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
all: build | ||
|
||
build: | ||
xmltoman man/update-grml-rescueboot.xml > man/update-grml-rescueboot.8 | ||
|
||
install: | ||
mkdir -p $(DESTDIR)/etc/grub.d $(DESTDIR)/usr/share/doc/grml-rescueboot/ $(DESTDIR)/etc/default $(DESTDIR)/usr/sbin/ | ||
install -m 755 42_grml $(DESTDIR)/etc/grub.d/ | ||
install -m 644 debian/README $(DESTDIR)/usr/share/doc/grml-rescueboot/ | ||
install -m 644 etc/default/grml-rescueboot $(DESTDIR)/etc/default/grml-rescueboot | ||
install -m 755 update-grml-rescueboot $(DESTDIR)/usr/sbin/ | ||
|
||
clean: | ||
rm -f man/update-grml-rescueboot.en.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
man/update-grml-rescueboot.en.8 | ||
man/update-grml-rescueboot.8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.TH update-grml-rescueboot 8 User Manuals | ||
.SH NAME | ||
update-grml-rescueboot \- Script to integrate Grml ISO for booting via GRUB | ||
.SH SYNOPSIS | ||
\fBupdate-grml-rescueboot [-f] [-a \fI32|64|96\fB] [-t \fIsmall|full\fB] | ||
\f1 | ||
.SH DESCRIPTION | ||
grml-rescueboot integrates Grml ISO booting into GRUB. It provides a script for update-grub which looks for Grml ISO images in \fI/boot/grml\f1, and automatically adds an entry for each image. The purpose is to use one of those images to boot a Grml rescue system without using a CD, USB stick or network boot (PXE). \fIupdate-grml-rescueboot\f1 is a script which checks for the latest stable version of Grml (via download.grml.org), ensures there's enough free disk space in \fI/boot/grml\f1 and downloads the ISO to \fI/boot/grml\f1. It verifies the ISO signature and upon success executes update-grub then. Everything should be ready for booting a Grml ISO via GRUB then. This script makes integration of a Grml ISO into GRUB via grml-rescueboot even easier. All that needs to be done is install grml-rescueboot and invoke update-grml-rescueboot afterwards. Using the \fI-a\f1 and \fI-t\f1 options it's possible to use specific Grml ISOs. If none of those options is specific it defaults to the grml-full flavour, matching the currently running hardware architecture (i?86 or x86_64). | ||
.SH OPTIONS | ||
.TP | ||
\fB-a \fIarg\fB\f1 | ||
Choose Grml architecture, specified via \fIarg\f1. Supported flavours are '32', '64' and '96'. If unset defaults to the currently running architecture. | ||
.TP | ||
\fB-f\f1 | ||
Force execution, ignoring, e.g. existing ISO files and disk space checks for \fI/boot/grml\f1. | ||
.TP | ||
\fB-h\f1 | ||
Display usage information and exit script. | ||
.TP | ||
\fB-t \fIarg\fB\f1 | ||
Choose Grml flavour, specified via \fIarg\f1. Supported flavours are 'small' and 'full'. If unset defaults to 'full'. | ||
.SH AUTHOR | ||
update-grml-rescueboot was written by Michael Prokop, based on a script by Felipe Sateler. | ||
.SH BUGS | ||
Please report them towards Debian's BTS, see https://bugs.debian.org/grml-rescueboot. |