:: Re: [DNG] vdev packaging
Top Page
Delete this message
Reply to this message
Author: shraptor
Date:  
To: dng
Subject: Re: [DNG] vdev packaging
On 2016-08-30 21:13, shraptor wrote:
> On 2016-08-28 12:36, fsmithred wrote:
>> On 08/27/2016 11:13 PM, Ralph Ronnquist wrote:
>>> Ralph Ronnquist wrote on 28/08/16 11:37:
>>>>
>>>> fsmithred wrote on 28/08/16 01:12:
>>>>> ...
>>>>>
>>>>> Sadly, I'm not getting Ralph's i386 build to boot. It's hanging on
>>>>> usb
>>>>> (keyboard). Any time I type, I get a usb disconnect and connect
>>>>> message.
>>>>>
>>>>
>>>> I'm afraid it was a worse problem. I had updated (improved) the
>>>> initramfs hook and then packaged it all without proper testing. This
>>>> also affected the amd64 version, which thus fails to build the
>>>> initrd
>>>> properly. The amd64 packages are now corrected, and I'll also update
>>>> the
>>>> i386 packages shortly.
>>>>
>>>> If on inspection you find /usr/share/initramfs-tools/hooks/vdev
>>>> being
>>>> non-executable, you should refetch vdev_1.0beta-1_amd64.deb (or all
>>>> of
>>>> them) and reinstall. (If it already is executable, you have the
>>>> initial
>>>> release, i.e., without the improved script, and can thus sit back to
>>>> enjoy life as usual)
>>>
>>> Corrected packages available at the same place as before:
>>> https://git.devuan.org/ralph.ronnquist/vdev/tree/master/release
>>>
>>> Note that there is now an explicit dependency on makedev, which might
>>> cause a slight hiccup for an i386 installation. If so, a normal
>>> "apt-get
>>> -f install" will sort it out.
>>>
>>> Ralph.
>>
>> The corrected amd64 packages work. I just downloaded, installed and
>> rebooted with the new initrd. Smooth as silk.
>
>
> smooth a silk indeed, Good Job Mr, Ronnquist.
>
> Am happy now!
>
> Tried it in a virtualbox install, will set up one of my comps
> with devuan now so I can run it for real.
>
> Can't wait to get it on my rpi3 :)
>
>
>
> /scooby



Tried to setup the arm-sdk on vbox devuan with vdev

Getting a lot of errors about udev, guess that is to be expected at this
stage.

does the vdev packages "provides" udev?

including full output of apt-get command below

Guess I have todo the arm-sdk stuff on a vanilla devuan for now.


/scooby



# apt-get install build-essential gnupg2 debootstrap curl rsync
gcc-arm-none-eabi parted kpartx qemu-user-static sudo git-core parted
gcc-multilib lib32z1 u-boot-tools device-x32gcc-4.9-dev libx32gcc1
libx32gomp1 libx32itm1 libx32quadmath0 libx32ubsan0
Suggested packages:
libnewlib-doc
The following NEW packages will be installed:
binutils-arm-none-eabi cgpt debootstrap device-tree-compiler
gcc-4.9-multilib gcc-arm-none-eabi gcc-multilib git-core kpartx
lib32asan1
lib32atomic1 lib32cilkrts5 lib32gcc-4.9-dev lib32gcc1 lib32gomp1
lib32itm1
lib32quadmath0 lib32stdc++6 lib32ubsan0 lib32z1 libc6-dev-i386
libc6-dev-x32
libc6-i386 libc6-x32 libnewlib-arm-none-eabi libnewlib-dev
libstdc++-arm-none-eabi-newlib libx32asan1 libx32atomic1
libx32cilkrts5
libx32gcc-4.9-dev libx32gcc1 libx32gomp1 libx32itm1 libx32quadmath0
libx32ubsan0 lzop qemu-user-static u-boot-tools
0 upgraded, 39 newly installed, 0 to remove and 4 not upgraded.
5 not fully installed or removed.
Need to get 14.8 MB/81.0 MB of archives.
After this operation, 584 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://auto.mirror.devuan.org/merged/ jessie/main libc6-i386 amd64
2.19-18+deb8u4 [2,377 kB]
Get:2 http://auto.mirror.devuan.org/merged/ jessie/main libc6-dev-i386
amd64 2.19-18+deb8u4 [1,319 kB]
Get:3 http://auto.mirror.devuan.org/merged/ jessie/main libc6-x32 amd64
2.19-18+deb8u4 [2,603 kB]
Get:4 http://auto.mirror.devuan.org/merged/ jessie/main libc6-dev-x32
amd64 2.19-18+deb8u4 [1,587 kB]
Get:5 http://auto.mirror.devuan.org/merged/ jessie/main git-core all
1:2.1.4-2.1+deb8u2 [1,496 B]
Get:6 http://auto.mirror.devuan.org/merged/ jessie/main qemu-user-static
amd64 1:2.1+dfsg-12+deb8u6 [6,913 kB]
Fetched 14.8 MB in 7s (1,852 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libc6-i386.
(Reading database ... 101777 files and directories currently installed.)
Preparing to unpack .../libc6-i386_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-i386 (2.19-18+deb8u4) ...
Selecting previously unselected package libc6-dev-i386.
Preparing to unpack .../libc6-dev-i386_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-dev-i386 (2.19-18+deb8u4) ...
Selecting previously unselected package libc6-x32.
Preparing to unpack .../libc6-x32_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-x32 (2.19-18+deb8u4) ...
Selecting previously unselected package libc6-dev-x32.
Preparing to unpack .../libc6-dev-x32_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-dev-x32 (2.19-18+deb8u4) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../lib32gcc1_1%3a4.9.2-10_amd64.deb ...
Unpacking lib32gcc1 (1:4.9.2-10) ...
Selecting previously unselected package libx32gcc1.
Preparing to unpack .../libx32gcc1_1%3a4.9.2-10_amd64.deb ...
Unpacking libx32gcc1 (1:4.9.2-10) ...
Selecting previously unselected package lib32gomp1.
Preparing to unpack .../lib32gomp1_4.9.2-10_amd64.deb ...
Unpacking lib32gomp1 (4.9.2-10) ...
Selecting previously unselected package libx32gomp1.
Preparing to unpack .../libx32gomp1_4.9.2-10_amd64.deb ...
Unpacking libx32gomp1 (4.9.2-10) ...
Selecting previously unselected package lib32itm1.
Preparing to unpack .../lib32itm1_4.9.2-10_amd64.deb ...
Unpacking lib32itm1 (4.9.2-10) ...
Selecting previously unselected package libx32itm1.
Preparing to unpack .../libx32itm1_4.9.2-10_amd64.deb ...
Unpacking libx32itm1 (4.9.2-10) ...
Selecting previously unselected package lib32atomic1.
Preparing to unpack .../lib32atomic1_4.9.2-10_amd64.deb ...
Unpacking lib32atomic1 (4.9.2-10) ...
Selecting previously unselected package libx32atomic1.
Preparing to unpack .../libx32atomic1_4.9.2-10_amd64.deb ...
Unpacking libx32atomic1 (4.9.2-10) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../lib32stdc++6_4.9.2-10_amd64.deb ...
Unpacking lib32stdc++6 (4.9.2-10) ...
Selecting previously unselected package lib32asan1.
Preparing to unpack .../lib32asan1_4.9.2-10_amd64.deb ...
Unpacking lib32asan1 (4.9.2-10) ...
Selecting previously unselected package libx32asan1.
Preparing to unpack .../libx32asan1_4.9.2-10_amd64.deb ...
Unpacking libx32asan1 (4.9.2-10) ...
Selecting previously unselected package lib32ubsan0.
Preparing to unpack .../lib32ubsan0_4.9.2-10_amd64.deb ...
Unpacking lib32ubsan0 (4.9.2-10) ...
Selecting previously unselected package libx32ubsan0.
Preparing to unpack .../libx32ubsan0_4.9.2-10_amd64.deb ...
Unpacking libx32ubsan0 (4.9.2-10) ...
Selecting previously unselected package lib32cilkrts5.
Preparing to unpack .../lib32cilkrts5_4.9.2-10_amd64.deb ...
Unpacking lib32cilkrts5 (4.9.2-10) ...
Selecting previously unselected package libx32cilkrts5.
Preparing to unpack .../libx32cilkrts5_4.9.2-10_amd64.deb ...
Unpacking libx32cilkrts5 (4.9.2-10) ...
Selecting previously unselected package lib32quadmath0.
Preparing to unpack .../lib32quadmath0_4.9.2-10_amd64.deb ...
Unpacking lib32quadmath0 (4.9.2-10) ...
Selecting previously unselected package libx32quadmath0.
Preparing to unpack .../libx32quadmath0_4.9.2-10_amd64.deb ...
Unpacking libx32quadmath0 (4.9.2-10) ...
Selecting previously unselected package lib32gcc-4.9-dev.
Preparing to unpack .../lib32gcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking lib32gcc-4.9-dev (4.9.2-10) ...
Selecting previously unselected package libx32gcc-4.9-dev.
Preparing to unpack .../libx32gcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libx32gcc-4.9-dev (4.9.2-10) ...
Selecting previously unselected package gcc-4.9-multilib.
Preparing to unpack .../gcc-4.9-multilib_4.9.2-10_amd64.deb ...
Unpacking gcc-4.9-multilib (4.9.2-10) ...
Selecting previously unselected package gcc-multilib.
Preparing to unpack .../gcc-multilib_4%3a4.9.2-2_amd64.deb ...
Unpacking gcc-multilib (4:4.9.2-2) ...
Selecting previously unselected package git-core.
Preparing to unpack .../git-core_1%3a2.1.4-2.1+deb8u2_all.deb ...
Unpacking git-core (1:2.1.4-2.1+deb8u2) ...
Selecting previously unselected package lib32z1.
Preparing to unpack .../lib32z1_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking lib32z1 (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package lzop.
Preparing to unpack .../archives/lzop_1.03-3_amd64.deb ...
Unpacking lzop (1.03-3) ...
Selecting previously unselected package qemu-user-static.
Preparing to unpack
.../qemu-user-static_1%3a2.1+dfsg-12+deb8u6_amd64.deb ...
Unpacking qemu-user-static (1:2.1+dfsg-12+deb8u6) ...
Selecting previously unselected package u-boot-tools.
Preparing to unpack .../u-boot-tools_2014.10+dfsg1-5_amd64.deb ...
Unpacking u-boot-tools (2014.10+dfsg1-5) ...
Selecting previously unselected package binutils-arm-none-eabi.
Preparing to unpack .../binutils-arm-none-eabi_2.25-5+5+b1_amd64.deb ...
Unpacking binutils-arm-none-eabi (2.25-5+5+b1) ...
Selecting previously unselected package cgpt.
Preparing to unpack .../cgpt_0~20121212-3_amd64.deb ...
Unpacking cgpt (0~20121212-3) ...
Selecting previously unselected package debootstrap.
Preparing to unpack .../debootstrap_1.0.75-1+devuan1_all.deb ...
Unpacking debootstrap (1.0.75-1+devuan1) ...
Selecting previously unselected package device-tree-compiler.
Preparing to unpack .../device-tree-compiler_1.4.0+dfsg-1_amd64.deb ...
Unpacking device-tree-compiler (1.4.0+dfsg-1) ...
Selecting previously unselected package gcc-arm-none-eabi.
Preparing to unpack .../gcc-arm-none-eabi_4.8.4-1+11-1_amd64.deb ...
Unpacking gcc-arm-none-eabi (4.8.4-1+11-1) ...
Selecting previously unselected package kpartx.
Preparing to unpack .../kpartx_0.5.0-6+deb8u2_amd64.deb ...
Unpacking kpartx (0.5.0-6+deb8u2) ...
Selecting previously unselected package libnewlib-dev.
Preparing to unpack
.../libnewlib-dev_2.1.0+git20140818.1a8323b-2_all.deb ...
Unpacking libnewlib-dev (2.1.0+git20140818.1a8323b-2) ...
Selecting previously unselected package libnewlib-arm-none-eabi.
Preparing to unpack
.../libnewlib-arm-none-eabi_2.1.0+git20140818.1a8323b-2_all.deb ...
Unpacking libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) ...
Selecting previously unselected package libstdc++-arm-none-eabi-newlib.
Preparing to unpack .../libstdc++-arm-none-eabi-newlib_4.8.3-9+4_all.deb
...
Unpacking libstdc++-arm-none-eabi-newlib (4.8.3-9+4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up udev (215-17+deb8u4) ...
addgroup: The group `input' already exists as a system group. Exiting.
[ ok ] Stopping the hotplug events dispatcher: udevd.
[ ok ] Starting the hotplug events dispatcher: udevd.
update-initramfs: deferring update (trigger activated)
insserv: script udev: service udev already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of libsane:amd64:
libsane:amd64 depends on udev | makedev; however:
Package udev is not configured yet.
Package makedev is not installed.

dpkg: error processing package libsane:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev; however:
Package udev is not configured yet.

dpkg: error processing package initramfs-tools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
linux-image-3.16.0-4-amd64:
linux-image-3.16.0-4-amd64 depends on initramfs-tools (>= 0.110~) |
linux-initramfs-tool; however:
Package initramfs-tools is not configured yet.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is not
configured yet.

dpkg: error processing package linux-image-3.16.0-4-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sane-utils:
sane-utils depends on libsane (>= 1.0.24-8+deb8u1); however:
Package libsane:amd64 is not configured yet.

dpkg: error processing package sane-utils (--configure):
dependency problems - leaving unconfigured
Setting up libc6-i386 (2.19-18+deb8u4) ...
Setting up libc6-dev-i386 (2.19-18+deb8u4) ...
Setting up libc6-x32 (2.19-18+deb8u4) ...
Setting up libc6-dev-x32 (2.19-18+deb8u4) ...
Setting up lib32gcc1 (1:4.9.2-10) ...
Setting up libx32gcc1 (1:4.9.2-10) ...
Setting up lib32gomp1 (4.9.2-10) ...
Setting up libx32gomp1 (4.9.2-10) ...
Setting up lib32itm1 (4.9.2-10) ...
Setting up libx32itm1 (4.9.2-10) ...
Setting up lib32atomic1 (4.9.2-10) ...
Setting up libx32atomic1 (4.9.2-10) ...
Setting up lib32stdc++6 (4.9.2-10) ...
Setting up lib32asan1 (4.9.2-10) ...
Setting up libx32asan1 (4.9.2-10) ...
Setting up lib32ubsan0 (4.9.2-10) ...
Setting up libx32ubsan0 (4.9.2-10) ...
Setting up lib32cilkrts5 (4.9.2-10) ...
Setting up libx32cilkrts5 (4.9.2-10) ...
Setting up lib32quadmath0 (4.9.2-10) ...
Setting up libx32quadmath0 (4.9.2-10) ...
Setting up lib32gcc-4.9-dev (4.9.2-10) ...
Setting up libx32gcc-4.9-dev (4.9.2-10) ...
Setting up gcc-4.9-multilib (4.9.2-10) ...
Setting up gcc-multilib (4:4.9.2-2) ...
Setting up git-core (1:2.1.4-2.1+deb8u2) ...
Setting up lib32z1 (1:1.2.8.dfsg-2+b1) ...
Setting up lzop (1.03-3) ...
Setting up qemu-user-static (1:2.1+dfsg-12+deb8u6) ...
Setting up u-boot-tools (2014.10+dfsg1-5) ...
Setting up binutils-arm-none-eabi (2.25-5+5+b1) ...
Setting up cgpt (0~20121212-3) ...
Setting up debootstrap (1.0.75-1+devuan1) ...
Setting up device-tree-compiler (1.4.0+dfsg-1) ...
Setting up gcc-arm-none-eabi (4.8.4-1+11-1) ...
dpkg: dependency problems prevent configuration of kpartx:
kpartx depends on udev (>> 0.086); however:
Package udev is not configured yet.

dpkg: error processing package kpartx (--configure):
dependency problems - leaving unconfigured
Setting up libnewlib-dev (2.1.0+git20140818.1a8323b-2) ...
Setting up libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) ...
Setting up libstdc++-arm-none-eabi-newlib (4.8.3-9+4) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Errors were encountered while processing:
udev
libsane:amd64
initramfs-tools
linux-image-3.16.0-4-amd64
sane-utils
kpartx
E: Sub-process /usr/bin/dpkg returned an error code (1)