From 64f6cdddad99ec0773725d23f3f7772755199164 Mon Sep 17 00:00:00 2001 From: Nikhil Jha Date: Aug 14 2020 23:09:10 +0000 Subject: :bug: Add Config Files --- diff --git a/build.tdl b/build.tdl new file mode 100644 index 0000000..1564190 --- /dev/null +++ b/build.tdl @@ -0,0 +1,12 @@ + diff --git a/pinephone-base.ks b/pinephone-base.ks new file mode 100644 index 0000000..1811fcb --- /dev/null +++ b/pinephone-base.ks @@ -0,0 +1,35 @@ +# This base is a standard Fedora image with phosh (and related software). + +repo --name copr_njha_mobile --baseurl https://download.copr.fedorainfracloud.org/results/elxreno/multimc/fedora-33-aarch64/ --install + +firstboot --disable +services --enabled=phosh + +%include fedora-kickstarts/fedora-arm-base.ks + + +%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps +-kernel + +phosh +phoc +squeekboard +feedbackd +kgx +%end + + +%post --erroronfail --log=/root/anaconda-post.log +# remove some extraneous files +rm -rfv /var/cache/* /var/log/* /tmp/* +%end + + +%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log +set -eux + +KEEPLANG=en_US +for dir in locale i18n; do + find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} + +done +%end diff --git a/pinephone-bh.ks b/pinephone-bh.ks new file mode 100644 index 0000000..9153d31 --- /dev/null +++ b/pinephone-bh.ks @@ -0,0 +1,21 @@ +# This base is a standard Fedora image with phosh (and related software). + +%include pinephone-base.ks + +%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps +megi-kernel-bh +%end + +%post --erroronfail --log=/root/anaconda-post.log +# remove some extraneous files +rm -rfv /var/cache/* /var/log/* /tmp/* +%end + +%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log +set -eux + +KEEPLANG=en_US +for dir in locale i18n; do + find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} + +done +%end diff --git a/pinephone-ce.ks b/pinephone-ce.ks new file mode 100644 index 0000000..9153d31 --- /dev/null +++ b/pinephone-ce.ks @@ -0,0 +1,21 @@ +# This base is a standard Fedora image with phosh (and related software). + +%include pinephone-base.ks + +%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps +megi-kernel-bh +%end + +%post --erroronfail --log=/root/anaconda-post.log +# remove some extraneous files +rm -rfv /var/cache/* /var/log/* /tmp/* +%end + +%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log +set -eux + +KEEPLANG=en_US +for dir in locale i18n; do + find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} + +done +%end