Hi mikeslr,mikeslr wrote:Hi All,
Like musher0, I only run frugal installs. Musher0, however, asked "Why do a full install of a distro that was designed for a frugal install?" I thought the only exception to the general recommendation to use Frugal installs to be if you had a RAM-challenged computer, e.g. 256 Mbs or less. But recently someone --perdido perhaps-- suggested that Full installs present a better environment for compiling. Knowing nothing about compiling I have no reason to doubt that. But I don't see how that relates to the current problem of Full installs not ever executing pinstall.sh.
I discovered the lack of documentation/explanations regarding pinstall.sh under another circumstance when they cease to function. If you convert a pet to an SFS, a pinstall.sh of the pet will be copied to the into the SFS but, as far I know, isn't executed when the SFS is loaded or ever.
When I discovered that, I thought perhaps it would be necessary to write some type of "run-once" script to be placed in /root/Startup: check to see if the commands in the script had already be executed, and if not execute them. Way beyond my scripting skills. Fortunately, I don't recall any converted-SFS that failed to function as expected. Which left me wondering under what circumstances are pinstall.shs actually necessary.
mikesLr
You present an interesting potential workaround using the /root/startup/ directory.
I have borrowed a script from shinobar that did something similar when installing the nvidia driver,
the script resides in /root/startup/ after the pet installs and runs on reboot. Here is the start of the script, the whole script is attached as nvidia.tar.gz so unzip to view.
Code: Select all
#!/bin/sh
# watch and make the nvidia graphic driver ready
# 22jun2012 shinobar
# 23jun2012: fatdog64
# 25jun2012: lhp64
#10oct2012: vdpau
#3may2013: try to avoid the depmod bug found in Puppy 4.3.1
# 23may2012: fix disablenouveau (thanks to peebee)
# 24may2012: improve disablenouveau keeping compatibility with Barry's xorgwizard-cli, welcome message
# 25may2013: can be called from rc.nvidia
# 26may2013: never use nvidia-xconfig
# 4sep2013: [Meeki] Must check xconfig file with nvidia-xconfig -t (see line(s) 255-258 & 296-304)
# 6sep2013: [Meeki] added LH64 to the skip of msg to run xorg after reboot (see line 286)
# 6sep2013: [Meeki] -a changed to -o meeki (see line 280)
# 6sep2013: [Meeki] tons of edits (see line 284 to 290)
# avoid multiple run
PSRESULT=$(ps)
N=$(echo "$PSRESULT"| grep -w "$0"| grep -w 'sh'| wc -l)
if [ $N -gt 1 ] ; then
echo "$0 seems already running."
exit 0
fi