# base URL for distribution baseurl: https://apps.karinthy.hu/gentoo/ # base subdirectory for distribution distdir: distribution # kernel series to use (latest or x.y) kernels: latest # kernel package config selection package: mygentoo # build parameters ebuild: # cleanup after build cleanup: no # portage build location ## prefix: /var/tmp/portage # format to use to store source, must exist under 'formats' format: tarxz # source preparation temp directory tempdir: /var/tmp/prepare # format descriptions # extension: extension to use for this format # archive: command to create archive # ${SRCDIR}: source directory to archive # ${DESTDIR}: destination directory for archive file # ${DESTFILENAME}: destination filename for archive file # extract: command to extract archive # ${SRCFILE}: source file for archive # ${DESTDIR}: destination directory to extract to formats: tarxz: extension: tar.xz archive: 'set -o pipefail && mkdir -p "${DESTDIR}" && tar cfC - "${SRCDIR}" . | xz -c - > "${DESTDIR}/.${DESTFILENAME}" && mv -f "${DESTDIR}/.${DESTFILENAME}" "${DESTDIR}/${DESTFILENAME}"' extract: 'set -o pipefail && mkdir -p "${DESTDIR}" && xz -cd "${SRCFILE}" | tar xfC - "${DESTDIR}"'