On 10/11/2013 10:35 PM, Jack Mitchell wrote:
What is the best way to set the root password for an image during build
time?
I have come across this snippet:
ROOTFS_POSTPROCESS_COMMAND += " \
sed 's%^root:[^:]*:%root:${PASSWD}:%' \
< ${IMAGE_ROOTFS}/etc/shadow \
> ${IMA
Op 11 okt. 2013, om 16:35 heeft Jack Mitchell het
volgende geschreven:
> What is the best way to set the root password for an image during build
> time?
>
> I have come across this snippet:
>
> ROOTFS_POSTPROCESS_COMMAND += " \
>sed 's%^root:[^:]*:%root:${PASSWD}:%' \
>< ${IMA
What is the best way to set the root password for an image during build
time?
I have come across this snippet:
ROOTFS_POSTPROCESS_COMMAND += " \
sed 's%^root:[^:]*:%root:${PASSWD}:%' \
< ${IMAGE_ROOTFS}/etc/shadow \
> ${IMAGE_ROOTFS}/etc/shadow.new;\
mv ${IMAGE_ROO