]> err.no Git - util-linux/commitdiff
build-sys: move pivot_root(8) to sys-utils
authorKarel Zak <kzak@redhat.com>
Wed, 19 Nov 2008 10:07:58 +0000 (11:07 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 19 Nov 2008 11:38:43 +0000 (12:38 +0100)
This patch moves pivot_root.{8,c) from mount/ to sys-utils/ directory.
There is not ant relation between pivot_root source code and the rest of
code in the mount.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/.gitignore
mount/Makefile.am
po/POTFILES.in
sys-utils/.gitignore
sys-utils/Makefile.am
sys-utils/pivot_root.8 [moved from mount/pivot_root.8 with 100% similarity]
sys-utils/pivot_root.c [moved from mount/pivot_root.c with 100% similarity]

index 6de7afcadda75ce6391ccea788fd4fbaa3b668e9..db657c719b240f2cc7abb9889ba7704053d010bc 100644 (file)
@@ -1,6 +1,5 @@
 losetup
 mount
 mtab_lock_test
-pivot_root
 swapon
 umount
index a43fcd5dcc684e38343a8e60084c74091982f9cf..00882af31ba95a2174ee21a44a693c764076d99b 100644 (file)
@@ -76,11 +76,6 @@ LDADD_common += $(VOLUMEID_LIBS)
 LDADD_common_static += $(VOLUMEID_LIBS_STATIC)
 endif
 
-if HAVE_PIVOT_ROOT
-sbin_PROGRAMS += pivot_root
-dist_man_MANS += pivot_root.8
-endif
-
 noinst_PROGRAMS = mtab_lock_test
 mtab_lock_test_SOURCES = fstab.c sundries.c xmalloc.c $(headers_common)
 mtab_lock_test_CPPFLAGS = -DMAIN_TEST_MTABLOCK $(AM_CPPFLAGS)
index 7187a8878b46cb93a3f9127a70d9d02af48ae505..e0564ac9380587aadadc428672ab9a4e949adb79 100644 (file)
@@ -72,7 +72,6 @@ mount/getusername.c
 mount/lomount.c
 mount/mount.c
 mount/mount_mntent.c
-mount/pivot_root.c
 mount/realpath.c
 mount/sundries.c
 mount/swapon.c
@@ -100,6 +99,7 @@ sys-utils/ipcrm.c
 sys-utils/ipcs.c
 sys-utils/ldattach.c
 sys-utils/lscpu.c
+sys-utils/pivot_root.c
 sys-utils/rdev.c
 sys-utils/readprofile.c
 sys-utils/renice.c
index fb6e433b66334a0fe2f852be7407f9f532894cb2..c47cd077a9047b4c93d8cc214b51a463dd865c4e 100644 (file)
@@ -1,40 +1,41 @@
+arch
 ctrlaltdel
 cytune
 dmesg
 flock
+i386.8
+ia64.8
+ipcmk
 ipcrm
 ipcs
-ipcmk
 ldattach
-readprofile
-renice
-rtcwake
-lscpu
-setarch
-setsid
-tunelp
-arch
-vidmode.8
-ramsize.8
-rdev
-i386.8
-ia64.8
 linux32.8
 linux64.8
+lscpu
 mips32.8
 mips64.8
 mips.8
 parisc32.8
 parisc64.8
 parisc.8
+pivot_root
 ppc32.8
 ppc64.8
 ppc.8
+ramsize.8
+rdev
+readprofile
+renice
 rootflags.8
+rtcwake
 s390.8
 s390x.8
+setarch
+setsid
 sparc32.8
 sparc32bash.8
 sparc64.8
 sparc.8
+tunelp
+vidmode.8
 x86_64.8
index 0dbbb482c6e4097d48020c3f1ee1ac0bd8e16c98..b4c6ac601ac0ae1617e7c8926d1057aa2c87ccae 100644 (file)
@@ -23,6 +23,11 @@ tunelp_SOURCES = tunelp.c lp.h
 
 info_TEXINFOS = ipc.texi
 
+if HAVE_PIVOT_ROOT
+sbin_PROGRAMS += pivot_root
+dist_man_MANS += pivot_root.8
+endif
+
 if BUILD_ARCH
 bin_PROGRAMS += arch
 dist_man_MANS += arch.1
similarity index 100%
rename from mount/pivot_root.8
rename to sys-utils/pivot_root.8
similarity index 100%
rename from mount/pivot_root.c
rename to sys-utils/pivot_root.c