genkernel: do not use /var/cache for storing source tarballs

/var/cache is expected to be created at runtime if needed
master
Fabio Erculiani 11 years ago
parent d3a053874e
commit e87343356f

@ -43,8 +43,8 @@ install: default
cp -rp netboot $(DESTDIR)/$(PREFIX)/share/genkernel/
cp -rp patches $(DESTDIR)/$(PREFIX)/share/genkernel/
install -d $(DESTDIR)/var/cache/genkernel/src
install -m 644 tarballs/* $(DESTDIR)/var/cache/genkernel/src/
install -d $(DESTDIR)/var/lib/genkernel/src
install -m 644 tarballs/* $(DESTDIR)/var/lib/genkernel/src/
clean:
rm -f $(EXTRA_DIST)

@ -184,7 +184,7 @@ GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
# Location of the default cache
CACHE_DIR="/var/cache/genkernel"
# Location of DISTDIR, where our source tarballs are stored
DISTDIR="${CACHE_DIR}/src"
DISTDIR="/var/lib/genkernel/src"
# Log output file
LOGFILE="/var/log/genkernel.log"
# Debug Level

Loading…
Cancel
Save