Skip to content

system assembly order is significant... #220

@devcurmudgeon

Description

@devcurmudgeon

if the order is wrong, we can end up with busybox init, instead of systemd. ideally we should fix these 'overlaps' in definitions also, but for now need to ensure that ybd guarantees higher-level stuff installs last.

TEST

rm -rf /root/ybd/artifacts/ivi-system-x86_64*
cd /root/baserock/definitions
python /root/baserock/ybd/ybd systems/ivi-system-x86_64.morph x86_64
value=ls -la /root/ybd/artifacts/ivi-system-x86_64*/ivi-system-*.unpacked/sbin/init | grep systemd -c
if [ $value -ne 1 ]
then
# Bad commit...
else
# good commit...
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions