summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoey Hess2017-11-16 18:02:44 -0400
committerJoey Hess2017-11-16 18:02:44 -0400
commitcdff8ea818f722628e73a8eaabbe172dda4e9329 (patch)
tree6db3a8abe5112e460980e55be4de7a05da6dbf18 /src
parentc9e51c0f7ee2e9c64484369b358d3b918227ddc5 (diff)
propellor spin
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/Property/Uboot.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Uboot.hs b/src/Propellor/Property/Uboot.hs
index 70b4dd68..562d2441 100644
--- a/src/Propellor/Property/Uboot.hs
+++ b/src/Propellor/Property/Uboot.hs
@@ -26,8 +26,8 @@ sunxi boardname = setInfoProperty (check (not <$> inChroot) go) info
dd :: FilePath -> FilePath -> Property Linux
dd dev prefix = tightenTargets $ cmdProperty "dd"
[ "conv=fsync,notrunc"
- , "if=" ++ prefix </> "/usr/lib/u-boot"
- </> boardname </> "u-boot-sunxi-with-spl.bin"
+ , "if=" ++ prefix ++ "/usr/lib/u-boot/"
+ ++ boardname ++ "/u-boot-sunxi-with-spl.bin"
, "of=" ++ dev
, "bs=1024"
, "seek=8"