diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-02-28 17:23:55 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-02-28 17:23:55 -0500 |
commit | aa4f427a19e9b94d55bb065e1e355ce775c5dc49 (patch) | |
tree | 625a6c4b53c9811d6e69d0dcaf8f4aa28174d368 | |
parent | da4c955eeb534c799b1a7378dc4d5dfaad2d21c2 (diff) |
fsmgr: fix .deb installs
-rw-r--r-- | fsmgr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ++ "/") |