Hi all .
in my case
$this->bbcode_second_pass_code('', '
pacman -S linux-odroid-c2
warning: linux-odroid-c2-3.14.65-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-odroid-c2-3.14.65-3
Total Installed Size: 42.14 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################] 100%
(1/1) checking package integrity [#######################################] 100%
(1/1) loading package files [#######################################] 100%
(1/1) checking for file conflicts [#######################################] 100%
(1/1) checking available disk space [#######################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms -q remove -q -m * -v * -k 3.14.65-3-ARCH
:: Processing package changes...
(1/1) reinstalling linux-odroid-c2 [#######################################] 100%
>>> Updating module dependencies. Please wait ...
depmod: WARNING: could not open /lib/modules/3.14.65-3-ARCH/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/3.14.65-3-ARCH/modules.builtin: No such file or directory
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-c2.preset: 'default'
-> -k 3.14.65-3-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.14.65-3-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
find: '/sys/devices/': No such file or directory
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> ERROR: module not found: `usbhid'
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms -q install -m * -v * -k 3.14.65-3-ARCH
')
and
$this->bbcode_second_pass_code('', '
ls /lib/modules/3.14.65-3-ARCH/
modules.alias modules.builtin.bin modules.dep.bin modules.softdep modules.symbols.bin
modules.alias.bin modules.dep modules.devname modules.symbols
')
so i do again
$this->bbcode_second_pass_code('', '
pacman -Syu
')
something is immature about odroid-c2 .
but i belive hardkernel shall support it .