Commit d240d7fb authored by BrLi's avatar BrLi

remove db for overlay package

parent 3003feed
Pipeline #1530 skipped with stages
......@@ -31,14 +31,10 @@ def add_postinall_packages(pacman_config, package_list=None, rootfolder="chakra"
package_dir = os.path.join(rootfolder, "var/cache/pacman/pkg/")
package_dir = os.path.abspath(package_dir)
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 {} {}"
command = "pacman -Swdd --noconfirm --cachedir {} --config {} {}"
subprocess.check_call(
command.format(
db_dir,
package_dir,
pacman_config,
" ".join(package_list)
......
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