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}
3535mkdir -p %{buildroot }%{_bindir }
3636mkdir -p %{buildroot }%{_sysconfdir }
3737mkdir -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 }
3941cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/etc/hyper %{buildroot }%{_sysconfdir }
4042cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyperd.service %{buildroot }/lib/systemd/system/hyperd.service
4143cp -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}
2727
2828%install
2929mkdir -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/
3131cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/hyper-initrd.img %{buildroot }%{_sharedstatedir }/hyper/
3232
3333%clean
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vcs-Git: git://github.com/hyperhq/hyperd.git
1212Vcs-Browser: https://github.com/hyperhq/hyperd
1313
1414Package: hypercontainer
15- Architecture: amd64
15+ Architecture: amd64 arm64
1616Depends: ${shlibs:Depends}, ${misc:Depends}
1717Description: HyperContainer - Virtualized Container Runtime
1818 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:
2525override_dh_auto_install :
2626 echo " begin install"
2727 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
3131 cp -r package/dist/* debian/hypercontainer/
3232 echo " end install"
3333
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Vcs-Git: git://github.com/hyperhq/hyperstart.git
1010Vcs-Browser: https://github.com/hyperhq/hyperstart
1111
1212Package: hyperstart
13- Architecture: amd64
13+ Architecture: amd64 arm64
1414Depends: ${shlibs:Depends}, ${misc:Depends}
1515Description: The init Task for HyperContainer
1616 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:
2020
2121override_dh_auto_install :
2222 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
2424 cp -aT build/hyper-initrd.img debian/hyperstart/var/lib/hyper/hyper-initrd.img
2525
2626override_dh_auto_clean :
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ make %{?_smp_mflags}
3333mkdir -p %{buildroot }%{_bindir }
3434mkdir -p %{buildroot }%{_sysconfdir }
3535mkdir -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 }
3739cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/etc/hyper %{buildroot }%{_sysconfdir }
3840cp -a %{_builddir }/src/github.com/hyperhq/hyperd/package/dist/lib/systemd/system/hyperd.service %{buildroot }/lib/systemd/system/hyperd.service
3941cp -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}
2727
2828%install
2929mkdir -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/
3131cp %{_builddir }/src/github.com/hyperhq/hyperstart/build/hyper-initrd.img %{buildroot }%{_sharedstatedir }/hyper/
3232
3333%clean
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vcs-Git: git://github.com/hyperhq/hyperd.git
1212Vcs-Browser: https://github.com/hyperhq/hyperd
1313
1414Package: hypercontainer
15- Architecture: amd64
15+ Architecture: amd64 arm64
1616Depends: ${shlibs:Depends}, ${misc:Depends}
1717Description: HyperContainer - Virtualized Container Runtime
1818 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:
2525override_dh_auto_install :
2626 echo " begin install"
2727 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
3131 cp -r package/dist/* debian/hypercontainer/
3232 echo " end install"
3333
You can’t perform that action at this time.
0 commit comments