diff options
| -rw-r--r-- | debian/arch-chroot.adoc | 70 | ||||
| -rw-r--r-- | debian/genfstab.adoc | 46 | ||||
| -rw-r--r-- | debian/manpages | 2 | ||||
| -rwxr-xr-x | debian/rules | 8 |
4 files changed, 0 insertions, 126 deletions
diff --git a/debian/arch-chroot.adoc b/debian/arch-chroot.adoc deleted file mode 100644 index 67a82d9..0000000 --- a/debian/arch-chroot.adoc +++ /dev/null @@ -1,70 +0,0 @@ -arch-chroot(1) -============== -:doctype: manpage - -NAME ----- -arch-chroot - script to mount API filesystems like /proc and make /etc/resolv.conf available in a chroot - - -SYNOPSIS --------- -*arch-chroot* ['option'] 'chroot-dir' ['command'] - - -OPTIONS -------- -*-h*:: - Print the help message - -*-u* '<user>[:group]':: - Specify non-root user and optional group to use - - -DESCRIPTION ------------ -Before *arch-chroot* runs */usr/bin/chroot*, the script mounts API filesystems -like '/proc' and makes '/etc/resolv.conf' available in a chroot. - -The Debian version of this script also sets up '/usr/sbin/policy-rc.d' to -disable autostart of daemons. - -If 'command' is unspecified, arch-chroot will launch */bin/bash*. - -Note that when using arch-chroot, the target chroot directory *should* be a -mountpoint. This ensures that tools such as findmnt(8) have an accurate hierarchy -of the mounted filesystems within the chroot. - -If your chroot target is not a mountpoint, you can bind mount the directory on -itself to make it a mountpoint, i.e. 'mount --bind /your/chroot /your/chroot'. - - -EXAMPLES --------- -=== Enter a chroot === - -Run arch-chroot with the new root directory as first argument: - -``` -arch-chroot /location/of/new/root -``` - -To exit the chroot simply use: - -``` -exit -``` - -=== Run a single command and exit === - -To run a command in the chroot and exit again, append the command to the end of the line: - -``` -arch-chroot /location/of/new/root command -``` - -For example, to run *dpkg-configure -a* for a chroot located at '/media/testing' do: - -``` -arch-chroot /media/testing dpkg-configure -a -``` diff --git a/debian/genfstab.adoc b/debian/genfstab.adoc deleted file mode 100644 index a8e38aa..0000000 --- a/debian/genfstab.adoc +++ /dev/null @@ -1,46 +0,0 @@ -genfstab(1) -=========== -:doctype: manpage - -NAME ----- -genfstab - script to generate an fstab file based on mounted partitions - - -SYNOPSIS --------- -*genfstab* ['options'] 'root' - - -OPTIONS -------- -*-f* 'FILTER':: - Restrict output to mountpoints matching the prefix FILTER -*-L*:: - Use labels for source identifiers (shortcut for '-t LABEL') -*-p*:: - Exclude pseudofs mounts (default behavior) -*-P*:: - Include pseudofs mounts -*-t* 'TAG':: - Use TAG for source identifiers. Common options for TAG include: 'LABEL', 'UUID', 'PARTLABEL', 'PARTUUID' -*-U*:: - Use UUIDs for source identifiers (shortcut for '-t UUID') -*-h*:: - Print the help message - - -DESCRIPTION ------------ -One can use genfstab to generate fstab entries for mounted partitions given a filesystem root. -This can be useful when installing or chrooting into a broken installation. - - -EXAMPLES --------- - -To generate an fstab file using UUIDs as identifiers, run: - -``` -genfstab -U /media/testing >> /media/testing/etc/fstab -``` diff --git a/debian/manpages b/debian/manpages deleted file mode 100644 index cc0dedd..0000000 --- a/debian/manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/arch-chroot.1 -debian/genfstab.1 diff --git a/debian/rules b/debian/rules index e146889..63ff2c5 100755 --- a/debian/rules +++ b/debian/rules @@ -9,11 +9,3 @@ override_dh_auto_install: make PREFIX=/usr DESTDIR="$(CURDIR)/debian/arch-install-scripts" install -rm debian/arch-install-scripts/usr/bin/pacstrap - -override_dh_installman: - asciidoctor --backend manpage debian/arch-chroot.adoc - asciidoctor --backend manpage debian/genfstab.adoc - dh_installman - -override_dh_clean: - dh_clean debian/arch-chroot.1 debian/genfstab.1 |
