Browse Source

initscripts: functions に detect_container() 追加

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8041 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 11 years ago
parent
commit
5e82930692
1 changed files with 9 additions and 1 deletions
  1. 9 1
      i/initscripts/initscripts-vl.spec

+ 9 - 1
i/initscripts/initscripts-vl.spec

@@ -4,7 +4,7 @@
 Summary:      The inittab file and the /etc/rc.d scripts.
 Summary(ja):  inittab と /etc/rc.d 以下の起動スクリプト一式
 Name:         initscripts
-Version:      8.91.13
+Version:      8.91.14
 Release:      1%{?_dist_release}
 License:      GPL
 Group:        System Environment/Base
@@ -20,7 +20,11 @@ BuildRequires:  glib2-devel, popt-devel
 Requires:     mingetty, gawk, sed, mktemp, e2fsprogs >= 1.15
 Requires:     procps >= 3.2.7, syslog
 Requires:     setup >= 2.5.7, psmisc, which, grep
+%if "%{__dist_release}" >= "vl7"
 Requires:     kmod
+%else
+Requires:     module-init-tools >= 3.6
+%endif
 Requires:     util-linux-ng
 Requires:     upstart >= 0.6.7
 Requires:     SysVinit-tools
@@ -434,6 +438,10 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Wed Dec 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 8.91.14-1
+- add detect_container function to detect container type.
+  - do not mount/remount/.. filesystem in container.
+
 * Mon Jul 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 8.91.13-1
 - add newer udev support
   - mount devtmpfs on /dev