#10465 NORM 10.1.3: invalid path in md5 check file
Zarro Boogs per Child
bugtracker at laptop.org
Wed Nov 24 06:09:35 EST 2010
#10465: invalid path in md5 check file
------------------------------------+---------------------------------------
Reporter: jvonau | Owner: cjb
Type: defect | Status: new
Priority: normal | Milestone: 10.1.3
Component: build-system | Version: Development source as of this date
Resolution: | Keywords:
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------------+---------------------------------------
Changes (by erikos):
* next_action: code => review
Comment:
{{{
diff --git a/modules/base/postimage.50.core.sh
b/modules/base/postimage.50.core.sh
index 2597b60..4b1b35d 100644
--- a/modules/base/postimage.50.core.sh
+++ b/modules/base/postimage.50.core.sh
@@ -3,7 +3,7 @@
. $OOB__shlib
buildnr=$(read_buildnr)
-treetar=$outputdir/$(image_name).tree.tar.lzma
+treetar=$(image_name).tree.tar.lzma
pkglist=$outputdir/$(image_name).packages.txt
actlist=$outputdir/$(image_name).activities.txt
liblist=$outputdir/$(image_name).libraries.txt
@@ -11,11 +11,13 @@ fillist=$outputdir/$(image_name).files.txt
maketree=$(read_config base make_tree_tarball)
if [[ "$maketree" == "1" ]]; then
+ pushd $outputdir >/dev/null
echo "Make tree tarball..."
tar -c -C $fsmount . | lzma -1 > $treetar
echo "Checksum tree tarball..."
md5sum $treetar > $treetar.md5
+ popd >/dev/null
fi
versioned_fs=$(read_config base versioned_fs)
}}}
Ok, that would be the other version, based on Daniel's feedback. Let me
know which one you prefer.
--
Ticket URL: <http://dev.laptop.org/ticket/10465#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list