Browse Source

* changed location for the one-time postinstall scripts from

''/etc/postinstall/'' -> ''/var/adm/postinstall/''
 	  (fixed ticket: #265)



git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@20300 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Christian Wiese 18 years ago
parent
commit
f547c98584
2 changed files with 7 additions and 6 deletions
  1. +5
    -4
      misc/tail/install_postinstall.in
  2. +2
    -2
      target/share/livecd/build_image.sh

+ 5
- 4
misc/tail/install_postinstall.in

@ -1,8 +1,9 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: misc/tail/install_postinstall.in
# Filename: misc/tail/install_postinstall.in
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,12 +12,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
tail_postinstall_wrapper=rock_substitute
auto_install_postinstall() {
local pitpl= pidir=$root/etc/postinstall.d
local pitpl= pidir=$root/var/adm/postinstall
for pitpl in $( cd $confdir; ls -1 *.postinstall 2> /dev/null ); do
echo "Installing ${pitpl%.postinstall} postinstall script..."
eval "cat $confdir/$pitpl | \

+ 2
- 2
target/share/livecd/build_image.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/share/livecd/build_image.sh
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -67,7 +67,7 @@ copy_and_parse_from_source $base/target/$target/rootfs $imagelocation
echo "Running ldconfig and other postinstall scripts ..."
mount /dev dev --bind
mount none proc -t proc
for x in sbin/ldconfig etc/postinstall.d/*; do
for x in sbin/ldconfig var/adm/postinstall/*; do
case $x in
*/scrollkeeper) echo "$x left out" ;;
*) chroot . /$x && true

Loading…
Cancel
Save