On 2020-04-20, Buck wrote:
>    * What led up to the situation?
>       
>       Create my-simple-cdd/profiles/NAME.x files that specify answers
>       to installer questions
>
>       Run build-simple-cdd --profiles NAME

Did you run this command from within the "my-simple-cdd" directory?

You may also want to use "--auto-profiles NAME" additionally, if you
want the preseeding for NAME be applied in all cases.

It would be helpful if you could provide your proposed profile in
more detail. Ideally, the exact commands you ran and the exact state of
the directory you're running them from.


>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>
>       Removed /usr/share/simple-cdd/profiles.

Removing /usr/share/simple-cdd/profiles provided by the package is not a
supported mode of operation (in general, removing arbitrary files in any
package is generally unsupported and likely will cause bugs).

If you want to override the built-in profiles, you need to create
replacement files (e.g. profiles/default.preseed, profiles/default.*),
though I would generally recommend providing additional profiles rather
than overriding the default profiles.


>    * What was the outcome of this action?
>
>       New error: $default_desktop not defined

What is reporting this error?


>    * What outcome did you expect instead?
>
>       I expected that removing /usr/share/simple-cdd/profiles would
>       force build-simple-cdd to read the profile files in
>       ~/my-simple-cdd/profiles/NAME.x

It will read the profiles from profiles in your working directory,
overriding any matching profiles in /usr/share/simple-cdd/profiles.
There is no need to break the packages installed files to get it to do
this.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to