Commit 3003feed authored by BrLi's avatar BrLi

install octopi in live session, remove db for overlay

parent 56598dbb
Pipeline #1526 skipped with stages
......@@ -282,7 +282,7 @@ clementine-qt5
imagewriter
octopi
#octopi-notifier-qt5 will be installed at the end
octopi-notifier
ark
spectacle
okular
......
......@@ -3,4 +3,4 @@
# Version: 20151103
#kapudan
octopi-notifier
\ No newline at end of file
#octopi-notifier
......@@ -79,12 +79,9 @@ class IsoBuilder:
# download packages
package_dir = os.path.join(self.overlay_packages_dir, "opt/chakra/pkgs")
package_dir = os.path.abspath(package_dir)
db_dir = os.path.join(self.overlay_packages_dir, "var/lib/pacman/")
db_dir = os.path.abspath(db_dir)
os.makedirs(package_dir, exist_ok=True)
pacman_config = pjoin(self.configdir, "pacman.conf")
command = "pacman -Sywdd --noconfirm --dbpath {} --cachedir {} --config {} {}"
command = "pacman -Sywdd --noconfirm --cachedir {} --config {} {}"
# pacman -Sw doesn't check dependencies with installed system, but it will fetch required packages altogether
with open(os.path.join(self.configdir, "overlay-packages.conf")) as packages:
for line in packages:
......@@ -93,7 +90,6 @@ class IsoBuilder:
continue
subprocess.check_call(
command.format(
db_dir,
package_dir,
pacman_config,
line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment