diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 547: Fix path creation

Message ID 20120810114410.23190.44924.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

James Tunnicliffe Aug. 10, 2012, 11:44 a.m. UTC
Merge authors:
  Ricardo Salveti (rsalveti)
Related merge proposals:
  https://code.launchpad.net/~rsalveti/linaro-image-tools/fixing-os-path-join/+merge/119100
  proposed by: Ricardo Salveti (rsalveti)
  review: Approve - James Tunnicliffe (dooferlad)
------------------------------------------------------------
revno: 547 [merge]
committer: James Tunnicliffe <james.tunnicliffe@linaro.org>
branch nick: linaro-image-tools
timestamp: Fri 2012-08-10 12:43:03 +0100
message:
  Fix path creation
modified:
  linaro-media-create


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro-media-create'
--- linaro-media-create	2012-08-09 12:08:40 +0000
+++ linaro-media-create	2012-08-09 23:00:50 +0000
@@ -181,7 +181,7 @@ 
     # if not a debian compatible system, just extract the kernel packages
     extract_kpkgs = False
     if not path_in_tarfile_exists(
-            os.path.join(filesystem_dir, '/etc/debian_version'), args.binary):
+            os.path.join(filesystem_dir, 'etc', 'debian_version'), args.binary):
         extract_kpkgs = True
 
     ROOTFS_DIR = os.path.join(BIN_DIR, filesystem_dir)