diff --git a/debian/calamares.install b/debian/calamares.install index fdec888..870ab45 100644 --- a/debian/calamares.install +++ b/debian/calamares.install @@ -2,3 +2,5 @@ debian/packages.conf /etc/calamares/modules/ debian/welcome.conf /etc/calamares/modules/ debian/settings.conf /etc/calamares/ usr/* +# ODROID specific module to resize partitions +debian/fs_resize usr/lib/calamares/modules/ diff --git a/debian/fs_resize/module.desc b/debian/fs_resize/module.desc new file mode 100644 index 0000000..120c2ed --- /dev/null +++ b/debian/fs_resize/module.desc @@ -0,0 +1,7 @@ +--- +type: "job" +name: "fs_resize" +interface: "process" +chroot: false +command: "/bin/sh -c \"yes y | /usr/local/bin/fs_resize\"" +timeout: 120 diff --git a/debian/settings.conf b/debian/settings.conf index 17248e9..f45acdf 100644 --- a/debian/settings.conf +++ b/debian/settings.conf @@ -39,6 +39,9 @@ install: #- packages #- removeuser +# Very very specific to the ODROID and created by the ODROID image scripts +- fs_resize + # Phase 3 - postinstall. # View modules are shown as UI pages, jobs from job modules are executed immediately in # the background.