Sorry, I forget to send to list...8)<br><br><div class="gmail_quote">2011/3/24 paulo bruck <span dir="ltr">&lt;<a href="mailto:paulobruck1@gmail.com">paulobruck1@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">2011/3/23 Adam Saleh <span dir="ltr">&lt;<a href="mailto:adamthecamper@gmail.com" target="_blank">adamthecamper@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Hello,</span></blockquote><div><br></div><div>Hi Adam </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><br></div><div>I am using simple-cdd to make my custom debian install cd. </div>

<div>I have tested simple-cdd with custom preseed file (folowing the howto <a href="http://wiki.debian.org/Simple-CDD/Howto" style="color:rgb(64, 100, 128)" target="_blank">http://wiki.debian.org/Simple-CDD/Howto</a>)</div>



<div>and it worked fine, but when I added post-inst script, it didn&#39;t do any changes.</div><div><br></div><div>In folder profiles/ I have files MINIMAL.preseed (containing functional preseed file) and MINIMAL.postinst.</div>



<div>File MINIMAL.postinst contains</div><div><br></div><div>#!/bin/sh</div><div>mkdir -p /target</div><div>touch /target/foofile</div></span></blockquote><div><br></div></div><div>humm I &#39;m not sure if this will be done</div>

<div><br></div><div>try to add</div><div>touch /root/foofile </div><div>in your MINIMAL.postinst  and see if this works.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><br></div><div>Then I executed &quot;simple-cdd --profiles MINIMAL&quot;</div><div>

<br></div><div>After automatic instalation, I checked / on my new system and I found neither foofile nor directory target.</div><div>(To explain the target thing, I remember, that debian installer installs everything to /target and this then becomes the root system,</div>



<div>and I wasn&#39;t sure whether postinst script operates on debian-installer root or installed system root)</div><div><br></div></span></blockquote></div><div>Have you done a chmod 755 MINIMAL.postinst ???</div><div class="im">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div></div><div>This proved me, that I don&#39;t understand this and therefore I need to ask:</div>

<div>

How does the postinst script work in debian-installer?</div><div>and</div><div>How can I check, whether simple-cdd included my postinst script indo my iso?</div></span></blockquote><div><br></div></div><div>see logs at /var/log/installer/syslog. ( problably at the end og log. )</div>
<div class="im">
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><br></div><div>

Thanks in advance for any helpful hints :)</div></span></blockquote><div><br></div></div><div>best regards </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">

<div><br></div><font color="#888888"><font color="#888888"><div>Adam</div></font></font></span>
<br>_______________________________________________<br>
Simple-cdd-devel mailing list<br>
<a href="mailto:Simple-cdd-devel@lists.alioth.debian.org" target="_blank">Simple-cdd-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/simple-cdd-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/simple-cdd-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br>