Bug 13091 - SYSTEMD build failed - no udevadm / systemctl
Summary: SYSTEMD build failed - no udevadm / systemctl
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.02.3
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-18 21:19 UTC by Yan Markman
Modified: 2024-06-15 14:54 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yan Markman 2020-07-18 21:19:44 UTC
Buildroot 2020.02.3 in INIT-SYSTEMD configuration failed
(BusyBox and SYSV are ok) 

>>>   Finalizing target directory
./output/host/bin/udevadm hwdb --update --root ./output/target
/bin/bash: ./output/host/bin/udevadm: No such file or directory
/bin/bash: ./output/host/bin/systemctl: No such file or directory

-------------------------------------------------------------------
>>>   Finalizing target directory
grep -qsE '^/bin/bash$' ./output/target/etc/shells || echo "/bin/bash" >> ./output/target/etc/shells
if grep -q CONFIG_ASH=y ./output/build/busybox-1.31.1/.config; then grep -qsE '^/bin/ash$' ./output/target/etc/shells || echo "/bin/ash" >> ./output/target/etc/shells; fi
if grep -q CONFIG_HUSH=y ./output/build/busybox-1.31.1/.config; then grep -qsE '^/bin/hush$' ./output/target/etc/shells || echo "/bin/hush" >> ./output/target/etc/shells; fi
PYTHONPATH="./output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/python3.8/" cd ./output/target && ./output/host/bin/python3.8 /home/ymarkman/devel/distributions/buildroot/velox.canon/buildroot/support/scripts/pycompile.py usr/lib/python3.8
find ./output/target/usr/lib/python3.8 -name '*.opt-1.pyc' -print0 -o -name '*.opt-2.pyc' -print0 | xargs -0 --no-run-if-empty rm -f
mkdir -p ./output/target/etc
echo "router" > ./output/target/etc/hostname
/usr/bin/sed -i -e '$a \127.0.1.1\trouter' -e '/^127.0.1.1/d' ./output/target/etc/hosts
/usr/bin/sed -i -e s,^root:[^:]*:,root:"`./output/host/bin/mkpasswd -m "sha-256" "6windos"`":, ./output/target/etc/shadow
grep -qsE '^/bin/sh$' ./output/target/etc/shells || echo "/bin/sh" >> ./output/target/etc/shells
ln -sf bash ./output/target/bin/sh
/usr/bin/sed -i -e '/^root:/s,[^/]*$,bash,' ./output/target/etc/passwd
./output/host/bin/udevadm hwdb --update --root ./output/target
/bin/bash: ./output/host/bin/udevadm: No such file or directory
Comment 1 Yann E. MORIN 2024-06-15 14:54:55 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!