mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
6327988d65
The only reason to have these split up is to be able to build extension images that use the base image as a base tree and install extra packages. Until we have such a use case, let's merge the base and system images to simplify things a bit. We keep the mkosi.images/ directory to not cause too many conflicts with the integration tests PR.
9 lines
247 B
Bash
Executable File
9 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -e
|
|
|
|
if [ -z "$(ls --almost-all "pkg/$PKG_SUBDIR")" ] || [ -f "pkg/$PKG_SUBDIR/.git" ]; then
|
|
git submodule sync "pkg/$PKG_SUBDIR"
|
|
git submodule update --init "pkg/$PKG_SUBDIR"
|
|
fi
|