Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

make sd-image failed when installing initramfs-tools #10

Open
ayeowch opened this issue May 5, 2016 · 0 comments
Open

make sd-image failed when installing initramfs-tools #10

ayeowch opened this issue May 5, 2016 · 0 comments

Comments

@ayeowch
Copy link

ayeowch commented May 5, 2016

I am getting the following error when initramfs-tools is being installed as part of make sd-image.

update-initramfs: Generating /boot/initrd.img-3.14.29-56
Unsupported ioctl: cmd=0x5331
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 14: /etc/initramfs-tools/scripts/local-top/c2_init.sh: cannot create /sys/class/display/mode: Directory nonexistent
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 18: /etc/initramfs-tools/scripts/local-top/c2_init.sh: arithmetic expression: expecting primary: " * 2"
run-parts: executing /etc/kernel/postinst.d/uInitrd 3.14.29-56 /boot/vmlinuz-3.14.29-56
Setting up ucf (3.0030) ...
Setting up fbset (2.1-28) ...
Setting up kernel-common (13.014+nmu1) ...
Setting up fix20160327 (1-1) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-27-generic
WARNING: missing /lib/modules/4.2.0-27-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.2.0-27-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Unsupported ioctl: cmd=0x5331
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 14: /etc/initramfs-tools/scripts/local-top/c2_init.sh: cannot create /sys/class/display/mode: Directory nonexistent
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 18: /etc/initramfs-tools/scripts/local-top/c2_init.sh: arithmetic expression: expecting primary: " * 2"
depmod: WARNING: could not open /var/tmp/mkinitramfs_gKFhNw/lib/modules/4.2.0-27-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_gKFhNw/lib/modules/4.2.0-27-generic/modules.builtin: No such file or directory
Image Name:   uInitrd
Created:      Thu May  5 08:35:49 2016
Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
Data Size:    2517376 Bytes = 2458.38 kB = 2.40 MB
Load Address: 00000000
Entry Point:  00000000
/bin/cp: cannot create regular file '/media/boot/uInitrd': No such file or directory
dpkg: error processing package fix20160327 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up u-boot (20160409-02bde9e-2) ...
/bin/dd: failed to open '': No such file or directory
/bin/dd: failed to open '': No such file or directory
/bin/dd: failed to open '': No such file or directory
dpkg: dependency problems prevent configuration of bootini:
 bootini depends on fix20160327; however:
  Package fix20160327 is not configured yet.
  Package fix20160327 which provides fix20160327 is not configured yet.

dpkg: error processing package bootini (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-c2 (56-1) ...
Errors were encountered while processing:
 fix20160327
 bootini
E: Sub-process /usr/bin/dpkg returned an error code (1)
Makefile:7: recipe for target 'sd-image' failed
make: *** [sd-image] Error 100
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant