package flashmap, required for mosys, which is required for crosystem

This commit is contained in:
Hal Emmerich 2020-06-14 17:03:01 -05:00
parent 19b6b7bbb4
commit 69f37092ea
8 changed files with 128 additions and 0 deletions

29
packages/filesystem/flashmap/.gitignore vendored Normal file
View File

@ -0,0 +1,29 @@
#since we have not changed upstream, and this is packaged don't keep the source files
src/*
!src/debian
#only include specific /debian files
src/debian/*
!src/debian/compat
!src/debian/changelog
!src/debian/control
!src/debian/rules
!src/debian/copyright
!src/debian/docs
!src/debian/watch
!src/debian/source
!src/debian/source/format
#generic packaging artifacts
debhelper-build-stamp
.debhelper
*.deb
*.dsc
*.build
*.buildinfo
*.changes
*.log
*.substvars
*.diff.gz
*.upload
*.debian.tar.xz

Binary file not shown.

View File

@ -0,0 +1,34 @@
#import all shared make vars
PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
include $(PRAWNOS_ROOT)/scripts/common.mk
VERSION := $(shell cd src/; dpkg-parsechangelog --show-field Version)
flashmap_$(VERSION)_armhf.deb:
@echo Building $@
cd src/; pdebuild --configfile $(PBUILDER_RC) \
--buildresult .. \
-- \
--basetgz $(PBUILDER_CHROOT) \
.PHONY: clean
clean:
rm -rf *.upload
rm -rf *.deb
rm -rf *.changes
rm -rf *.dsc
rm -rf *.build
rm -rf *.diff.gz
rm -rf *.debian.tar.xz
rm -rf *.buildinfo
.PHONY: upload
upload:
dput deb.prawnos.com *.changes
install:
ifndef INSTALL_TARGET
$(error INSTALL_TARGET is not set)
endif
cp flashmap_$(VERSION)_armhf.deb $(INSTALL_TARGET)

View File

@ -0,0 +1,5 @@
flashmap (0.3) stable; urgency=medium
* Initial release.
-- Hal Emmerich <hal@halemmerich.com> Sun, 14 Jun 2020 15:12:07 -0500

View File

@ -0,0 +1 @@
10

View File

@ -0,0 +1,22 @@
Source: flashmap
Priority: optional
Maintainer: Hal Emmerich <hal@halemmerich.com>
Uploaders: Hal Emmerich <hal@halemmerich.com>
Build-Depends: debhelper (>= 10),
clang,
uuid-dev,
meson,
pkg-config,
cmake,
libcmocka-dev,
cargo,
lcov
Standards-Version: 4.3.0
Homepage: https://github.com/dhendrix/flashmap
Vcs-Browser: https://github.com/dhendrix/flashmap
Vcs-Git: https://github.com/dhendrix/flashmap
Package: flashmap
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: flashmap library for use with cros utils

View File

@ -0,0 +1,24 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xsecurelock
Source: https://github.com/google/xsecurelock
Files: *
Copyright: 2014-2019 Google Inc. All rights reserved.
License: GPL-2+
Files: debian/*
Copyright: 2020 Hal Emmerich <hal@halemmerich.com>
License: GPL-2+
License: GPL-2+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this package. If not, see <https://www.gnu.org/licenses/>.

View File

@ -0,0 +1,13 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Use already defined upstream version as DEB_VERSION_UPSTREAM.
include /usr/share/dpkg/pkg-info.mk
export DH_VERBOSE=1
%:
dh $@
override_dh_auto_build:
dh_auto_build -- all