[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Custom live-bottom script not executed



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Daniel,

>> I'm trying to execute a script after my live system boots. I looked at
>> [1] and created the attached script. The script is executable. However,
>> it doesn't seem to be executed (I don't see any message from it).
> 
> ...that's why i hate the wiki, it's just incomplete or outdated information.
> 

Incomplete or outdated information is probably better than no
documentation at all ;)

>> Any suggestions?
> 
> sure.
> 
> you also need to trigger the rebuild of the initrd, otherwise, since the
> local includes are included later than the initrd.img is generated,
> doesn't get included.
> 
> simplest way to do it is by symlinking
> /usr/share/live-helper/examples/hooks/update-initramfs.sh to
> config/chroot_local-hooks/update-initramfs.sh
> 

Thanks :) I will try this Monday.

Regards,

Cyril

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl8N0wACgkQlYy8cEwUMaTdXQCfX2sHLIZjqMLoXkXljLo+y+V7
sLwAmwVJe+eba0PHuhyFTxsvMR74yBT4
=bi15
-----END PGP SIGNATURE-----


Reply to: