base-files: remove platform dependency to execute the postinst function

Removed the platform dependency to apply the resize to all platforms.

https://jira.digi.com/browse/DEL-6609

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-05-16 16:13:33 +02:00
parent c82977e9b6
commit c604091fc6
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
}
pkg_postinst_ontarget_${PN}_ccimx6() {
pkg_postinst_ontarget_${PN}() {
get_emmc_block_device() {
emmc_number="$(sed -ne 's,.*mmcblk\(.\)boot0.*,\1,g;T;p' /proc/partitions)"
if [ -b "/dev/mmcblk${emmc_number}" ] &&