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

Re: Help with hooks




Hi

Maximiliano Marin Bustos wrote:
Hi!
I created one hook, but when the distro is compiling, it gives me this error:

P: Begin executing local hooks...
/usr/bin/env: /root/samba.sh: No such file or directory

Before lh_build i ran lh_config --hooks config/chroot_local-hooks/samba.sh

The code of samba.sh is:

#!/usr/bin/bash

## Samba sin password

smbpasswd -n paul




Try with

lh_config --hooks ./config/chroot_local-hooks/samba.sh

--
Regards,
Padma Jadav
Magnet Technologies Pvt. Ltd.


Reply to: