From 2e66b441c343fe4408448a3bfc0dfa5c9547a125 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Tue, 14 Apr 2020 02:31:29 +0800 Subject: [PATCH] Add how-to-build-deb-package.md, adjust directory location. --- .../build-simple-cdd-cfg/Readme | 1 + ...share_simple-cdd_profiles_default.packages | 0 ..._share_simple-cdd_profiles_default.preseed | 0 .../debian-config-4-build-deb/debian/Readme | 1 + .../how-to-build-deb-package.md | 41 +++++++++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 docs/configurations/build-simple-cdd-cfg/Readme rename docs/configurations/{debian-config-4-build-deb => }/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.packages (100%) rename docs/configurations/{debian-config-4-build-deb => }/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.preseed (100%) create mode 100644 docs/configurations/debian-config-4-build-deb/debian/Readme create mode 100644 docs/configurations/debian-config-4-build-deb/how-to-build-deb-package.md diff --git a/docs/configurations/build-simple-cdd-cfg/Readme b/docs/configurations/build-simple-cdd-cfg/Readme new file mode 100644 index 0000000..210e7d7 --- /dev/null +++ b/docs/configurations/build-simple-cdd-cfg/Readme @@ -0,0 +1 @@ +This dir files is for build simple ccd. diff --git a/docs/configurations/debian-config-4-build-deb/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.packages b/docs/configurations/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.packages similarity index 100% rename from docs/configurations/debian-config-4-build-deb/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.packages rename to docs/configurations/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.packages diff --git a/docs/configurations/debian-config-4-build-deb/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.preseed b/docs/configurations/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.preseed similarity index 100% rename from docs/configurations/debian-config-4-build-deb/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.preseed rename to docs/configurations/build-simple-cdd-cfg/usr_share_simple-cdd_profiles_default.preseed diff --git a/docs/configurations/debian-config-4-build-deb/debian/Readme b/docs/configurations/debian-config-4-build-deb/debian/Readme new file mode 100644 index 0000000..f098f43 --- /dev/null +++ b/docs/configurations/debian-config-4-build-deb/debian/Readme @@ -0,0 +1 @@ +This dir files is for build deb package. It's real dir is debian. diff --git a/docs/configurations/debian-config-4-build-deb/how-to-build-deb-package.md b/docs/configurations/debian-config-4-build-deb/how-to-build-deb-package.md new file mode 100644 index 0000000..34fc88d --- /dev/null +++ b/docs/configurations/debian-config-4-build-deb/how-to-build-deb-package.md @@ -0,0 +1,41 @@ +# How to build the deb package + +## Pre-install +``` +sudo apt-get install build-essential dh-make debhelper lintian wget +``` +## Config evc var for dh_make +``` +$ cat >>~/.bashrc < ../harbianaudit_0.4.1-1_all.deb.sha512sum +``` + +