mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-28 11:34:40 +01:00
This repository is growing is due to different projects are living here, kernel config and patches, obs scripts, kata-deploy, release tools. Lets move the obs scripts to its own directory. Fixes: #75 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
26 lines
690 B
Makefile
26 lines
690 B
Makefile
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Installation variables
|
|
DESTDIR :=
|
|
DEFAULTSDIR := /usr/share/
|
|
PROJECT_DIR := Kata-containers
|
|
VMLINUX := @VMLINUX@
|
|
VMLINUZ := @VMLINUZ@
|
|
|
|
DESTSYSCONFDIR := $(abspath $(DESTDIR)/$(DEFAULTSDIR)/$(PROJECT_DIR))
|
|
|
|
|
|
VMLINUX_DEST := $(abspath $(DESTSYSCONFDIR)/$(VMLINUX))
|
|
VMLINUZ_DEST := $(abspath $(DESTSYSCONFDIR)/$(VMLINUZ))
|
|
|
|
|
|
install:
|
|
install -D --owner root --group root --mode 0644 $(VMLINUX) $(VMLINUX_DEST)
|
|
install -D --owner root --group root --mode 0644 $(VMLINUZ) $(VMLINUZ_DEST)
|
|
ln -sf $(VMLINUX_DEST) $(DESTSYSCONFDIR)/vmlinuz.container
|
|
ln -sf $(VMLINUZ_DEST) $(DESTSYSCONFDIR)/vmlinux.container
|