[Simple-cdd-devel] Question about NAME.postinst

Adam Saleh adamthecamper at gmail.com
Wed Mar 23 21:19:35 UTC 2011


Hello,

I am using simple-cdd to make my custom debian install cd.
I have tested simple-cdd with custom preseed file (folowing the howto
http://wiki.debian.org/Simple-CDD/Howto)
and it worked fine, but when I added post-inst script, it didn't do any
changes.

In folder profiles/ I have files MINIMAL.preseed (containing functional
preseed file) and MINIMAL.postinst.
File MINIMAL.postinst contains

#!/bin/sh
mkdir -p /target
touch /target/foofile

Then I executed "simple-cdd --profiles MINIMAL"

After automatic instalation, I checked / on my new system and I found
neither foofile nor directory target.
(To explain the target thing, I remember, that debian installer installs
everything to /target and this then becomes the root system,
and I wasn't sure whether postinst script operates on debian-installer root
or installed system root)

This proved me, that I don't understand this and therefore I need to ask:
How does the postinst script work in debian-installer?
and
How can I check, whether simple-cdd included my postinst script indo my iso?

Thanks in advance for any helpful hints :)

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20110323/fa4645bf/attachment.htm>


More information about the Simple-cdd-devel mailing list