Re: SF.net SVN: morphix: [2315] trunk/scripts-base/etc/init.d

"Brendan M. Sleight" <[email protected]> Sun, 18 Jun 2006 17:17:03 +0100
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Hi All,

I am using
 http://www.morphix.org/autobuilds/base/basemod-2.6.15-2006-06-18_0015.iso
 http://morphix.org/autobuilds/mainmod/sid/lightgui-2006-06-17_0415.mod

The basemod contains unionfs-utils and according to the log file has
been installed
 http://www.morphix.org/autobuilds/base/basemod-2.6.15-2006-06-18_0015.log
The debian contains ./usr/bin/unionctl in data.tar.gz

However etc/init.d/load-minimodules.sh reports that "No unionctl
found, not applying unionfs minimodule overlaying"

When using qemu to boot the iso, I found that following do not exisit:-
 * /usr/bin/unionctl
 * /sbin/unionctl
 * /mnt/.hidden_base/usr/bin/unionctl
 * /mnt/.hidden_base/sbin/unionctl

However /mnt/.hidden_base/usr/sbin/unionctl does exist.

Hence the reasoning behind the patch. Which is much much longer than the patch!

Regards,
Brendan


On 6/18/06, [email protected]
<[email protected]> wrote:
> Revision: 2315
> Author:   bmsleight
> Date:     2006-06-18 09:14:36 -0700 (Sun, 18 Jun 2006)
> ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2315&view=rev
>
> Log Message:
> -----------
> unionctl path for minimodules
>
> Modified Paths:
> --------------
>     trunk/scripts-base/etc/init.d/debian/changelog
>     trunk/scripts-base/etc/init.d/load-minimodules.sh
> Modified: trunk/scripts-base/etc/init.d/debian/changelog
> ===================================================================
> --- trunk/scripts-base/etc/init.d/debian/changelog      2006-06-17 22:29:52 UTC (rev 2314)
> +++ trunk/scripts-base/etc/init.d/debian/changelog      2006-06-18 16:14:36 UTC (rev 2315)
> @@ -1,3 +1,9 @@
> +morphix-initd (0.1-2) unstable; urgency=low
> +
> +  * unionctl path for minimodules
> +
> + -- bmsleight <[email protected]>  Sun, 18 Jun 2006 17:00:00 +0100
> +
>  morphix-initd (0.1-1) unstable; urgency=low
>
>    * Initial Release.
>
> Modified: trunk/scripts-base/etc/init.d/load-minimodules.sh
> ===================================================================
> --- trunk/scripts-base/etc/init.d/load-minimodules.sh   2006-06-17 22:29:52 UTC (rev 2314)
> +++ trunk/scripts-base/etc/init.d/load-minimodules.sh   2006-06-18 16:14:36 UTC (rev 2315)
> @@ -75,7 +75,7 @@
>
>      # Unionfs overlaying (only if unionctl exists and the root dir in the minimodule exists
>      # Add the /root dir to be the unionfs branch after the first component (which should be 0 and rw...)
> -    if [ -x /sbin/unionctl -o -x /usr/bin/unionctl ];then
> +    if [ -x /usr/sbin/unionctl -o -x /usr/bin/unionctl ];then
>         if [ -d /mnt/mini/mod$count/root ]; then
>             unionctl /mnt/main --add --after 0 --mode ro /mnt/mini/mod$count/root
>         fi
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
>
>
> _______________________________________________
> Morphix-cvs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/morphix-cvs
>