[Simple-cdd-devel] preseed parts not working

Vagrant Cascadian vagrant at debian.org
Thu Jul 21 17:15:10 UTC 2016


On 2016-07-19, Javier Marcon wrote:
> Hello, in profiles folder I have a preseed file that notifies the cd
> installer to use some options, but some lines of the preseed fifle are
> ignored. I noticed these lines are ignored:
>
> d-i debian-installer/language string es
> d-i debian-installer/country string AR
> d-i debian-installer/locale string es_AR.UTF-8
> d-i localechooser/supported-locales multiselect en_US.UTF-8, es_AR

From the simple-cdd README:

  Language and Country Selection

  to pre-select the language and country, it is recommended to use the
  --locale commandline option:

   build-simple-cdd --locale en_US

You could also specify it in a profile, e.g. profiles/miconfig.conf:

  locale=es_AR

This is because preseeding isn't read until after the questions for
locale are asked. You may be able to set the auto-install/enable=true
option, as described here:

  https://d-i.debian.org/manual/en.amd64/apbs04.html#preseed-l10n


> d-i preseed/late_command string /bin/sh /cdrom/preseed/copiar.sh ; \
> in-target /bin/sh /root/inst/cambiaperm.sh

Not sure here.

Does the file /cdrom/preseed/copiar.sh exist at the time that command is
being run? Is the CD or USB .iso mounted at an alternate location?


> If I make the script profiles/miconfig.postinst , how can I run commands
> chrooted to the installation disk (like in-target option does)?

The .postinst would have to copy a file into the chroot and then run it.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20160721/c994c758/attachment.sig>


More information about the Simple-cdd-devel mailing list