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

paulo bruck paulobruck1 at gmail.com
Thu Mar 24 12:52:00 UTC 2011


Sorry, I forget to send to list...8)

2011/3/24 paulo bruck <paulobruck1 at gmail.com>

> 2011/3/23 Adam Saleh <adamthecamper at gmail.com>
>
>> Hello,
>
>
> Hi Adam
>
>>
>> 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
>>
>
> humm I 'm not sure if this will be done
>
> try to add
> touch /root/foofile
> in your MINIMAL.postinst  and see if this works.
>
>
>>
>> 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)
>>
>> Have you done a chmod 755 MINIMAL.postinst ???
>
>
>> 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?
>>
>
> see logs at /var/log/installer/syslog. ( problably at the end og log. )
>
>
>> Thanks in advance for any helpful hints :)
>>
>
> best regards
>
>>
>> Adam
>>
>> _______________________________________________
>> Simple-cdd-devel mailing list
>> Simple-cdd-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/simple-cdd-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20110324/43881033/attachment.htm>


More information about the Simple-cdd-devel mailing list