This repository was archived by the owner on Feb 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +20
-16
lines changed Expand file tree Collapse file tree 12 files changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ make %{?_smp_mflags}
35
35
mkdir -p %{buildroot }%{_bindir }
36
36
mkdir -p %{buildroot }%{_sysconfdir }
37
37
mkdir -p %{buildroot }/lib/systemd/system/
38
- cp %{_builddir }/src/github.com/hyperhq/hyperd/{hyperctl,hyperd,vmlogd} %{buildroot }%{_bindir }
38
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/hyperd/hyperd %{buildroot }%{_bindir }
39
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/hyperctl/hyperctl %{buildroot }%{_bindir }
40
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/vmlogd/vmlogd %{buildroot }%{_bindir }
39
41
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/etc/hyper %{buildroot }%{_sysconfdir }
40
42
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyperd.service %{buildroot }/lib/systemd/system/hyperd.service
41
43
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyper-vmlogd.service %{buildroot }/lib/systemd/system/hyper-vmlogd.service
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ make %{?_smp_mflags}
27
27
28
28
%install
29
29
mkdir -p %{buildroot }%{_sharedstatedir }/hyper
30
- cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/kernel %{buildroot }%{_sharedstatedir }/hyper/
30
+ cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/arch/ ` uname -m ` / kernel %{buildroot }%{_sharedstatedir }/hyper/
31
31
cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/hyper-initrd.img %{buildroot }%{_sharedstatedir }/hyper/
32
32
33
33
%clean
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vcs-Git: git://github.com/hyperhq/hyperd.git
12
12
Vcs-Browser: https://github.com/hyperhq/hyperd
13
13
14
14
Package: hypercontainer
15
- Architecture: amd64
15
+ Architecture: amd64 arm64
16
16
Depends: ${shlibs:Depends}, ${misc:Depends}
17
17
Description: HyperContainer - Virtualized Container Runtime
18
18
Hyper is a VM based docker engine, it start container image in
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ override_dh_auto_build:
25
25
override_dh_auto_install :
26
26
echo " begin install"
27
27
mkdir -p debian/hypercontainer/usr/bin
28
- cp -aT hyperd debian/hypercontainer/usr/bin/hyperd
29
- cp -aT hyperctl debian/hypercontainer/usr/bin/hyperctl
30
- cp -aT vmlogd debian/hypercontainer/usr/bin/vmlogd
28
+ cp -aT cmd/hyperd/ hyperd debian/hypercontainer/usr/bin/hyperd
29
+ cp -aT cmd/hyperctl/ hyperctl debian/hypercontainer/usr/bin/hyperctl
30
+ cp -aT cmd/vmlogd/ vmlogd debian/hypercontainer/usr/bin/vmlogd
31
31
cp -r package/dist/* debian/hypercontainer/
32
32
echo " end install"
33
33
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Vcs-Git: git://github.com/hyperhq/hyperstart.git
10
10
Vcs-Browser: https://github.com/hyperhq/hyperstart
11
11
12
12
Package: hyperstart
13
- Architecture: amd64
13
+ Architecture: amd64 arm64
14
14
Depends: ${shlibs:Depends}, ${misc:Depends}
15
15
Description: The init Task for HyperContainer
16
16
Hyperstart is the initrd for hyper VM, hyperstart
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ override_dh_auto_build:
20
20
21
21
override_dh_auto_install :
22
22
mkdir -p debian/hyperstart/var/lib/hyper/
23
- cp -aT build/kernel debian/hyperstart/var/lib/hyper/kernel
23
+ cp -aT build/arch/ ` uname -m ` / kernel debian/hyperstart/var/lib/hyper/kernel
24
24
cp -aT build/hyper-initrd.img debian/hyperstart/var/lib/hyper/hyper-initrd.img
25
25
26
26
override_dh_auto_clean :
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ make %{?_smp_mflags}
33
33
mkdir -p %{buildroot }%{_bindir }
34
34
mkdir -p %{buildroot }%{_sysconfdir }
35
35
mkdir -p %{buildroot }/lib/systemd/system/
36
- cp %{_builddir }/src/github.com/hyperhq/hyperd/{hyperctl,hyperd,vmlogd} %{buildroot }%{_bindir }
36
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/hyperd/hyperd %{buildroot }%{_bindir }
37
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/hyperctl/hyperctl %{buildroot }%{_bindir }
38
+ cp %{_builddir }/src/github.com/hyperhq/hyperd/cmd/vmlogd/vmlogd %{buildroot }%{_bindir }
37
39
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/etc/hyper %{buildroot }%{_sysconfdir }
38
40
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyperd.service %{buildroot }/lib/systemd/system/hyperd.service
39
41
cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyper-vmlogd.service %{buildroot }/lib/systemd/system/hyper-vmlogd.service
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ make %{?_smp_mflags}
27
27
28
28
%install
29
29
mkdir -p %{buildroot }%{_sharedstatedir }/hyper
30
- cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/kernel %{buildroot }%{_sharedstatedir }/hyper/
30
+ cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/arch/ ` uname -m ` / kernel %{buildroot }%{_sharedstatedir }/hyper/
31
31
cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/hyper-initrd.img %{buildroot }%{_sharedstatedir }/hyper/
32
32
33
33
%clean
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vcs-Git: git://github.com/hyperhq/hyperd.git
12
12
Vcs-Browser: https://github.com/hyperhq/hyperd
13
13
14
14
Package: hypercontainer
15
- Architecture: amd64
15
+ Architecture: amd64 arm64
16
16
Depends: ${shlibs:Depends}, ${misc:Depends}
17
17
Description: HyperContainer - Virtualized Container Runtime
18
18
Hyper is a VM based docker engine, it start container image in
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ override_dh_auto_build:
25
25
override_dh_auto_install :
26
26
echo " begin install"
27
27
mkdir -p debian/hypercontainer/usr/bin
28
- cp -aT hyperd debian/hypercontainer/usr/bin/hyperd
29
- cp -aT hyperctl debian/hypercontainer/usr/bin/hyperctl
30
- cp -aT vmlogd debian/hypercontainer/usr/bin/vmlogd
28
+ cp -aT cmd/hyperd/ hyperd debian/hypercontainer/usr/bin/hyperd
29
+ cp -aT cmd/hyperctl/ hyperctl debian/hypercontainer/usr/bin/hyperctl
30
+ cp -aT cmd/vmlogd/ vmlogd debian/hypercontainer/usr/bin/vmlogd
31
31
cp -r package/dist/* debian/hypercontainer/
32
32
echo " end install"
33
33
You can’t perform that action at this time.
0 commit comments