diff --git a/debian/calamares.install b/debian/calamares.install index b82efd5..7da1d94 100644 --- a/debian/calamares.install +++ b/debian/calamares.install @@ -1,8 +1,4 @@ # ODROID specific module to resize partitions -debian/fs_resize /usr/lib/calamares/modules/ -debian/packages.conf /etc/calamares/modules/ debian/settings.conf /etc/calamares/ -debian/users.conf /etc/calamares/modules/ -debian/webview.conf /etc/calamares/modules/ -debian/welcome.conf /etc/calamares/modules/ +debian/modules/* /etc/calamares/modules/ usr/* diff --git a/debian/fs_resize/module.desc b/debian/fs_resize/module.desc deleted file mode 100644 index 84a3eb5..0000000 --- a/debian/fs_resize/module.desc +++ /dev/null @@ -1,7 +0,0 @@ ---- -type: "job" -name: "fs_resize" -interface: "process" -chroot: false -command: "konsole --nofork -e \"sudo /usr/local/bin/fs_resize)\"" -timeout: 120 diff --git a/debian/modules/interactiveterminal.conf b/debian/modules/interactiveterminal.conf new file mode 100644 index 0000000..a3634ef --- /dev/null +++ b/debian/modules/interactiveterminal.conf @@ -0,0 +1,2 @@ +--- +command: "/usr/local/bin/fs_resize" diff --git a/debian/packages.conf b/debian/modules/packages.conf similarity index 100% rename from debian/packages.conf rename to debian/modules/packages.conf diff --git a/debian/users.conf b/debian/modules/users.conf similarity index 67% rename from debian/users.conf rename to debian/modules/users.conf index 1ce288f..538abe7 100644 --- a/debian/users.conf +++ b/debian/modules/users.conf @@ -1,3 +1,4 @@ --- doAutologin: true setRootPassword: false +sudoersGroup: sudo diff --git a/debian/webview.conf b/debian/modules/webview.conf similarity index 100% rename from debian/webview.conf rename to debian/modules/webview.conf diff --git a/debian/welcome.conf b/debian/modules/welcome.conf similarity index 100% rename from debian/welcome.conf rename to debian/modules/welcome.conf diff --git a/debian/settings.conf b/debian/settings.conf index 15826e3..e22b025 100644 --- a/debian/settings.conf +++ b/debian/settings.conf @@ -42,7 +42,7 @@ install: #- removeuser # Very very specific to the ODROID and created by the ODROID image scripts -- fs_resize +- interactiveterminal # Phase 3 - postinstall. # View modules are shown as UI pages, jobs from job modules are executed immediately in