From aa4f427a19e9b94d55bb065e1e355ce775c5dc49 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 28 Feb 2021 17:23:55 -0500 Subject: fsmgr: fix .deb installs --- fsmgr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 when (not $ null debs) $ do need debs cmd_ (AddEnv "DEBIAN_FRONTEND" "noninteractive") - ["dpkg"] [if unpackOnly then "--unpack" else "--install"] debs + ["dpkg"] [if unpackOnly then "--unpack" else "--install"] ["--root", mountpoint] debs {- 2.5. install apt package cache -} when installAptLists $ do cmd_ "rsync -Ra" (("/./" ++) <$> aptListFiles aptListCfg) (mountpoint ++ "/") -- cgit v1.2.3