OSInside / kiwi

KIWI - Appliance Builder Next Generation
https://osinside.github.io/kiwi
GNU General Public License v3.0
301 stars 152 forks source link

dracut-run-interactive.service not found #1371

Closed ghost closed 4 years ago

ghost commented 4 years ago

Problem description

Trying to install my ubuntu based OEM Image in Virtualbox gives me this error /lib/kiwi-dialog-lib.sh: line 66: /usr/lib/systemd/system/dracut-run-interactive.service: No such file or directory I assume it's because the device is mounted read-only, but I am not sure what to change about it. Here is a Screenshot of the entire error message.

![vlcsnap-2020-03-15-12h28m05s476](https://user-images.githubusercontent.com/28811732/76700581-39a02180-66b9-11ea-83db-80e6612a612f.png)

Steps to reproduce the behaviour

kiwi-ng --debug --type=oem system build \
    --description data/ubuntu/ \
    --target-dir /tmp/myimage

Config.xml

```xml Ubuntu Bionic 16.0.4 apt-get sabily ubuntu-mate en_US us Europe/Berlin true /dev/ram false ```

OS and Software information

schaefi commented 4 years ago

Excerpt from conversation on Riot. There is a fix to this problem:

I've heard some reports that you'll need apt-utils and usrmerge in bootstrap section

if it does, we probably need to add this to our example and test descriptions
for ubuntu and debian

usrmerge should be specified to be installed in bootstrap by us, though it is
currently not could you create a pull request for that part ? would be great

I added apt-utils and usrmerge

I can confirm adding usrmerge solves the issue for the OEM image, I am happy it looks like there
are no issues with dracut dependencies anymore. Looks like Ubuntu improved on their dracut
adoption :) Gonna see if we can add some tests for that! Last time I tried (more than one year
ago) there were dependency issues.