From b661b23f93d594ef0ab1959c754f63e15eb33b52 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Fri, 14 Aug 2015 14:40:45 +0200 Subject: [PATCH] ODROID specific module to resize partitions --- debian/calamares.install | 2 ++ debian/fs_resize/module.desc | 7 +++++++ debian/settings.conf | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 debian/fs_resize/module.desc 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.