beta release. still some missing features (ipxe, http/tftp and remote syncing, etc.)

This commit is contained in:
2016-12-04 02:43:49 -05:00
parent dbeee4789d
commit df172d73eb
9 changed files with 443 additions and 78 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
for i in pacman apacman;
do
if [ -f /usr/local/${i}.db.tar.xz ];
then
/usr/bin/tar -Jxf /usr/local/${i}.db.tar.xz -C /var/lib/${i}/
fi
done

View File

@@ -0,0 +1 @@
/etc/systemd/system/pacmandb.service

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Restoring Installed Packages DB
[Service]
Type=oneshot
#ExecStart=/usr/bin/tar -Jxf /usr/local/pacman.db.tar.xz -C /var/lib/pacman/
ExecStart=/etc/systemd/system/scripts/pacmandb.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target