Commit 25623e04 authored by BrLi's avatar BrLi

create db directory for iso_out

parent b05b2ce7
Pipeline #1499 skipped with stages
......@@ -33,6 +33,7 @@ def add_postinall_packages(pacman_config, package_list=None, rootfolder="chakra"
os.makedirs(package_dir, exist_ok=True)
db_dir = os.path.join(rootfolder, "var/lib/pacman/")
db_dir = os.path.abspath(db_dir)
os.makedirs(db_dir, exist_ok=True)
command = "pacman -Swdd --noconfirm --dbpath {} --cachedir {} --config {} {}"
subprocess.check_call(
......
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