Backslashes are illegal syntax within f-strings, so work around it with
chr(). chr(10) is UTF-8 character 10, aka Line feed, aka LF, aka "\n".
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Broken since November 2019 without complaint. Remove.
Revert this commit and add '. config/options ""' to scripts/checkdeps to restore
or look at having checkdeps source a function or call a script in the
distro/project/device directory to check for additional dependencies.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Convert from using the indices of two arrays to establish a relationship
to using associative arrays to make the relationship direct in a
[key]=value pairing.
Move the qemu-binfmt-dep, et all, for native Rockchip builds out to the
project options file.
Don't recalculate needed deps if sudo isn't installed to add new packages;
just exit.
Rename Gentoo's python3 package to python. Specifying a slot would be how to
state a specific version of python on Gentoo. Regardless, python is a hard dep
of Gentoo's package manager so this will never come up in practice.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
The sunxi firmware crust needs to be enabled per board, add this as a
new optional option.
A missing entry indicated that crust is not supported/enabled for the
corresponding board.
In case two packages has dependency on each other unpacking fails because unpack script goes to loop and eats all the computer resources. With this change unpack fails on third pass.
Probably this functionality could be done better but atm I don't have better idea.
unpack recursive limit hit [package1, package2]
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
**************************************