summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-02-28 17:23:55 -0500
committerAndrew Cady <d@cryptonomic.net>2021-02-28 17:23:55 -0500
commitaa4f427a19e9b94d55bb065e1e355ce775c5dc49 (patch)
tree625a6c4b53c9811d6e69d0dcaf8f4aa28174d368
parentda4c955eeb534c799b1a7378dc4d5dfaad2d21c2 (diff)
fsmgr: fix .deb installs
-rw-r--r--fsmgr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsmgr.hs b/fsmgr.hs
index 837293e..57d04f1 100644
--- a/fsmgr.hs
+++ b/fsmgr.hs
@@ -157,7 +157,7 @@ buildRoot config@DiskImageConfig{..} finalOut = do
157 when (not $ null debs) $ do 157 when (not $ null debs) $ do
158 need debs 158 need debs
159 cmd_ (AddEnv "DEBIAN_FRONTEND" "noninteractive") 159 cmd_ (AddEnv "DEBIAN_FRONTEND" "noninteractive")
160 ["dpkg"] [if unpackOnly then "--unpack" else "--install"] debs 160 ["dpkg"] [if unpackOnly then "--unpack" else "--install"] ["--root", mountpoint] debs
161 {- 2.5. install apt package cache -} 161 {- 2.5. install apt package cache -}
162 when installAptLists $ do 162 when installAptLists $ do
163 cmd_ "rsync -Ra" (("/./" ++) <$> aptListFiles aptListCfg) (mountpoint ++ "/") 163 cmd_ "rsync -Ra" (("/./" ++) <$> aptListFiles aptListCfg) (mountpoint ++ "/")