From 839ade1073032d841a3823e0a25d0ded19cc8b71 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 5 Dec 2010 18:10:00 +0100 Subject: make AIF track needed filesystem packages filesystem packages are scheduled to go out of base, hence AIF must track which ones are needed and which are not by keeping an eye open during the filesystems creation (and rollback) steps. In the interactive procedure, the appropriate packages will be preselected, in the automatic procedure, you're supposed to configure the needed packages yourself now. This is reflected in the examples. --- examples/fancy-install-on-sda | 2 +- examples/generic-install-on-sda | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda index b5b316c..28c5f1b 100644 --- a/examples/fancy-install-on-sda +++ b/examples/fancy-install-on-sda @@ -10,7 +10,7 @@ RUNTIME_PACKAGES= # packages to install TARGET_GROUPS=base TARGET_PACKAGES_EXCLUDE='reiserfsprogs' -TARGET_PACKAGES=openssh +TARGET_PACKAGES='openssh e2fsprogs cryptsetup lvm2 xfsprogs' # you can optionally also override some functions... worker_intro () { diff --git a/examples/generic-install-on-sda b/examples/generic-install-on-sda index 8923fe3..44a2166 100644 --- a/examples/generic-install-on-sda +++ b/examples/generic-install-on-sda @@ -16,7 +16,7 @@ RUNTIME_PACKAGES= # packages to install TARGET_GROUPS=base # all packages in this group will be installed (defaults to base if no group and no packages are specified) TARGET_PACKAGES_EXCLUDE= # Exclude these packages if they are member of one of the groups in TARGET_GROUPS. example: 'nano reiserfsprogs' (they are in base) -TARGET_PACKAGES=openssh # you can also specify separate packages to install (this is empty by default) +TARGET_PACKAGES='openssh e2fsprogs' # you can also specify separate packages to install (this is empty by default) # you can optionally also override some functions... worker_intro () { @@ -36,4 +36,4 @@ GRUB_DEVICE=/dev/sda PARTITIONS='/dev/sda 100:ext2:+ 512:swap *:ext4' BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params /dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params -/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params' \ No newline at end of file +/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params' -- cgit v1.2.3-54-g00ecf