diff options
-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 ++ "/") |