diff --git a/emulators/linux_base-8/pkg-install b/emulators/linux_base-8/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base-8/pkg-install +++ b/emulators/linux_base-8/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac diff --git a/emulators/linux_base-rh-9/pkg-install b/emulators/linux_base-rh-9/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base-rh-9/pkg-install +++ b/emulators/linux_base-rh-9/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac diff --git a/emulators/linux_base-suse-9.1/pkg-install b/emulators/linux_base-suse-9.1/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base-suse-9.1/pkg-install +++ b/emulators/linux_base-suse-9.1/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac diff --git a/emulators/linux_base-suse-9.2/pkg-install b/emulators/linux_base-suse-9.2/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base-suse-9.2/pkg-install +++ b/emulators/linux_base-suse-9.2/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac diff --git a/emulators/linux_base-suse-9.3/pkg-install b/emulators/linux_base-suse-9.3/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base-suse-9.3/pkg-install +++ b/emulators/linux_base-suse-9.3/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac diff --git a/emulators/linux_base/pkg-install b/emulators/linux_base/pkg-install index 7846395642ef..2d569a739289 100644 --- a/emulators/linux_base/pkg-install +++ b/emulators/linux_base/pkg-install @@ -12,6 +12,22 @@ PRE-INSTALL) exit 1 fi fi + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi + ;; +POST-INSTALL) + if [ -n "`grep -w ^linprocfs /etc/fstab`" ]; then + echo 'Re-mounting linprocfs...' + mount linprocfs + fi + ;; +DEINSTALL) + if [ -n "`mount | grep -w ^linprocfs`" ]; then + echo 'Un-mounting linprocfs...' + umount linprocfs + fi ;; esac