diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-27 16:49:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-27 16:49:29 +0000 |
commit | 1079b6c14ada31fb627cf433c8139de5d166fcf5 (patch) | |
tree | 666e83332547a08812515bd9c1d29ca9f3f11815 | |
parent | 0c44c0e9ccbea789390c7367db5f018686523658 (diff) | |
download | initscripts-1079b6c14ada31fb627cf433c8139de5d166fcf5.tar initscripts-1079b6c14ada31fb627cf433c8139de5d166fcf5.tar.gz initscripts-1079b6c14ada31fb627cf433c8139de5d166fcf5.tar.bz2 initscripts-1079b6c14ada31fb627cf433c8139de5d166fcf5.tar.xz initscripts-1079b6c14ada31fb627cf433c8139de5d166fcf5.zip |
more statetab updates (#211839, <markmc@redhat.com>)
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 1 | ||||
-rw-r--r-- | sysconfig/readonly-root | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -17,6 +17,7 @@ install: mkdir -p $(ROOT)$(mandir)/man{5,8} mkdir -p $(ROOT)/etc/rwtab.d $(ROOT)/etc/statetab.d mkdir -p $(ROOT)/var/lib/stateless/writable + mkdir -p $(ROOT)/var/lib/stateless/state install -m644 inittab adjtime $(ROOT)/etc if uname -m | grep -q s390 ; then \ diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index fae42e55..07f3d2ed 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -490,6 +490,7 @@ fi if strstr "$cmdline" readonlyroot ; then READONLY=yes [ -z "$RW_MOUNT" ] && RW_MOUNT=/var/lib/stateless/writable + [ -z "$STATE_MOUNT" ] && STATE_MOUNT=/var/lib/stateless/state fi if strstr "$cmdline" noreadonlyroot ; then READONLY=no diff --git a/sysconfig/readonly-root b/sysconfig/readonly-root index 6407c07e..3eb6168e 100644 --- a/sysconfig/readonly-root +++ b/sysconfig/readonly-root @@ -10,4 +10,4 @@ RW_LABEL=stateless-rw # Label for partition with persistent data STATE_LABEL=stateless-state # Where to mount to the persistent data -STATE_MOUNT=/.snapshot +STATE_MOUNT=/var/lib/stateless/state |