Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

deb-src lines instruct apt where it should get upstream source packages. In our example it is buster (a codebase of debian). Add an architecture:


Code Block
languagebash
titleadd architecture:
dpkg --add-architecture amd64


And update the data:


Code Block
languagebash
titleupdate existing packages:
apt-get update

...

Code Block
titleMakefile
du3p01% cat du3/components/jdupes/Makefile 
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright (c) 2020 DilOS Team <dilos@dilos.org>
#
include ../../make-rules/shared-macros.mk

COMPONENT_NAME= jdupes

include ../../make-rules/deb_src2.mk

#
build:
	@echo "Nothing build"

install:
	@echo "Nothing install"

clean:
	$(RM) -r $(BUILD_DIR)
#	$(RM) *.changes
#	$(RM) *.deb

clobber: clean

test: $(NO_TESTS)

Make sure there are no "white spaces" at the of lines:

Code Block
titledebian copy
sed -i 's/ *$//' Makefile

Copy the whole debian directory from the package tree to the component repo directory, add it to git, commit it and create a PR (pull request).

...