New: lsblk: not found
https://bugs.busybox.net/show_bug.cgi?id=15226
Bug ID: 15226
Host: qemu_x86
Build: Ubuntu 22 X86_64
Summary: lsblk: not found
Product: buildroot
Version: 2022.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
Why I can't use lsblk?
_________
Steps to Reproduce. I build Buildroot from git git clone git://git.buildroot.net/buildroot
make clean -C buildroot
make -C buildroot qemu_x86_defconfig
make -C buildroot
I runbuildroot/output/images/start-qemu.sh
0) Actual Results. I try to use lsblk command via console
# lsblk -sh: lsblk: not found
Expected Results. lsblk should be found in my system!
1)
lsusb works (return nothing)
2)
# fdisk -l Disk /dev/vda: 60 MB, 62914560 bytes, 122880 sectors 121 cylinders, 16 heads, 63 sectors/track Units: sectors of 1 * 512 = 512 bytes
Disk /dev/vda doesn't contain a valid partition table
3)
file buildroot/output/build/linux-5.15.18/.config contains
# CONFIG_SYSFS_DEPRECATED is not set CONFIG_SYSFS_SYSCALL=yCONFIG_SYSFS=y
4)
# uname -a Linux buildroot 5.15.18 #1 SMP Fri Jan 6 19:29:11 KST 2023 i686 GNU/Linux
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15226] lsblk: not found
https://bugs.busybox.net/show_bug.cgi?id=15226
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME--- Comment #1 from Peter Korsgaard <[email protected]> ---
Quoted 1 line
Why I can't use lsblk?
Because you didn't enable it? lsblk comes from util-linux, so you need to enable BR2_PACKAGE_UTIL_LINUX_BINARIES to include it.
lsusb is offered by busybox, which is the reason why you have it "automatically".
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot