Author: pebender
Date: Thu Nov 6 09:10:15 2008
New Revision: 3920
Modified:
trunk/gar-minimyth/html/minimyth/document-boot.html
trunk/gar-minimyth/html/minimyth/document-changelog.txt
trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_install
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_update
Log:
- Worked around problem caused to the mm_install_* scripts by the fact
that the dash shell included in Ubuntu is broken.
Modified: trunk/gar-minimyth/html/minimyth/document-boot.html
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-boot.html (original)
+++ trunk/gar-minimyth/html/minimyth/document-boot.html Thu Nov 6 09:10:15
2008
@@ -702,7 +702,7 @@
<a href="download.html">MiniMyth download instructions</a>.
</li>
<li>
- Run the command 'sh mm_local_install {directory}',
+ Run the command 'bash mm_local_install {directory}',
where '{directory}' is the directory that contains your
MiniMyth read-only configuration directory.
</li>
<li>
@@ -723,19 +723,6 @@
and installed all the files in
the 'ram-minimyth-{version}.tar.bz2' file from the MiniMyth distribution,
including the 'minimyth.md5' file, 'kernel' file, the 'rootfs'
file and the 'themes' directory.
</p>
- <p>
- The 'mm_local_install' script assumes that your sh shell is a
bug-free
- <a href="http://en.wikipedia.org/wiki/Almquist_shell">ash</a>
- compatible shell.
- As a result, distributions such as Ubuntu that link sh to the
- <a
href="http://en.wikipedia.org/wiki/Debian_Almquist_shell">dash</a> shell
- will have a problem.
- While the dash shell is a direct descendant of the ash shell,
- it has a
- <a
href="https://bugs.launchpad.net/ubuntu/+source/dash/+bug/139097">broken
implementation of ash's 'local' command</a>.
- Since the 'mm_local_install' and 'mm_local_helper' scripts use
ash's 'local' command,
- these scripts will not work on systems that use dash until
dash's implementation of ash's 'local' command is fixed.
- </p>
</div>
<div id="local-syslinux-ram-manual" class="section">
<div class="heading">Local Boot using SYSLINUX with a RAM Root
File System (manual install)</div>
@@ -875,7 +862,7 @@
alt="Valid CSS!" height="31" width="88" /></a>
</div>
<div class="version">
- Last Updated on 2008-11-04
+ Last Updated on 2008-11-06
<br />
< mailto : webmaster at minimyth dot org >
</div>
Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt Thu Nov 6
09:10:15 2008
@@ -33,6 +33,8 @@
fail to correctly determine the time server.
- Worked around an issue in the perl based media init script that
caused
MM_MEDIA_TV_URL and MM_MEDIA_TV_MOUNTPOINT to fail.
+ - Worked around problem caused to the mm_install_* scripts by the fact
+ that the dash shell included in Ubuntu is broken.
- Fixed init so that MM_MEDIA_TV_URL does not need to be writable by
user 'minimyth' unless mythbackend is enabled
(MM_BACKEND_ENABLED='yes'),
but is must still be readable by user 'minimyth'.
Modified: trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
(original)
+++ trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile Thu Nov
6 09:10:15 2008
@@ -569,7 +569,6 @@
$(top_build)/stage/scripts: \
$(top_source)/mm_local/mm_local_install \
- $(top_source)/mm_local/mm_local_update \
$(top_source)/mm_local/mm_local_helper
@echo "making scripts directory"
@mkdir -m 0755 -p $(@D)
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_install
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_install
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_install
Thu Nov 6 09:10:15 2008
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
################################################################################
# mm_local_install
#
@@ -196,7 +196,7 @@
test -e "${HELPER_OLD}" |
| \
message_output 1 "'${HELPER_DIR}/mm_local_helper' script is missing." |
| \
exit 1
-HELPER_OLD="sh ${HELPER_OLD}"
+HELPER_OLD="bash ${HELPER_OLD}"
# Fetch the new local helper script (mm_local_helper_new) from the update
server.
${HELPER_OLD}
fetch_helper "${URL}" "${BASE_DIR}/minimyth_stage" "${BASE_DIR}/minimyth_cache"
|| \
message_output 1 "command_local_update: blah blah
blah." || \
@@ -206,7 +206,7 @@
test -e "${HELPER_NEW}" || \
message_output 1 "'${HELPER_NEW}' script is missing." || \
exit 1
-HELPER_NEW="sh ${HELPER_NEW}"
+HELPER_NEW="bash ${HELPER_NEW}"
# Get MiniMyth distribution version.
VERSION=`${HELPER_NEW}
version_new "${URL}" "${BASE_DIR}/minimyth_stage" "${BASE_DIR}/minimyth_cache"`
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_update
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_update
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_update
Thu Nov 6 09:10:15 2008
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ash
script_file() {
@@ -80,7 +80,7 @@
test
-e "${HELPER_OLD}" |
| \
message_output 1 "command_local_update: '${HELPER_OLD}' script is
missing." || \
exit 1
-HELPER_OLD="sh ${HELPER_OLD}"
+HELPER_OLD="ash ${HELPER_OLD}"
# Check to make sure that we recognize the MiniMyth distribution.
${HELPER_OLD} check "${URL}" "${BOOT_DIR}" "${TEMP_DIR}"
@@ -105,7 +105,7 @@
test
-e "${HELPER_NEW}" |
| \
message_output 1 "command_local_update: '${HELPER_NEW}' script is
missing." || \
exit 1
-HELPER_NEW="sh ${HELPER_NEW}"
+HELPER_NEW="ash ${HELPER_NEW}"
# Check whether or not the user wants to update MiniMyth.
VERSION_OLD=`${HELPER_OLD}
version_old "${URL}" "${BOOT_DIR}" "${TEMP_DIR}"`
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---