aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-07-03 05:09:57 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-07-03 05:09:57 -0400
commit69a60ea1ca6e1f3079740fc204932b8e95267f64 (patch)
tree2bc0015417f1f09c50b6b044323c019b78ce7724 /debian
parent1907d1037c2e5d98b8b55b563d7b0ce8cd4b408a (diff)
d*.adoc, d/manpages, d/rules: Drop our manpages in favor of upstream's.
Diffstat (limited to 'debian')
-rw-r--r--debian/arch-chroot.adoc70
-rw-r--r--debian/genfstab.adoc46
-rw-r--r--debian/manpages2
-rwxr-xr-xdebian/rules8
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