Commit graph

30 commits

Author SHA1 Message Date
leafee98 3500ce0058 typo: retrive, fix err use a second level log mark 2023-08-11 21:48:46 +08:00
leafee98 dec5faa54b add section, priority and homepage properties 2023-08-02 22:18:56 +08:00
leafee98 175943aa4d fix: no compress with gzip when creating deb 2023-08-02 21:21:13 +08:00
leafee98 fc8dd81f00 add comment for existing file will be skipped 2023-07-18 21:09:45 +08:00
leafee98 a7f156b7c9 remove useless material 2023-07-18 21:08:28 +08:00
leafee98 20272db3d8 refactor example DEBBUILD, add LICENSE and README 2023-07-18 10:40:08 +08:00
leafee98 34537bd30b archive file list name start from './' 2023-07-17 22:26:56 +08:00
leafee98 342d77c987 fix: undefined function call in error_function() 2023-06-30 22:08:51 +08:00
leafee98 adc58ff421 specific only the first level when creating deb
When creating a deb, directories is required to be in archive, so let
find don't omit directories is required.

https://stackoverflow.com/questions/4564434/why-does-my-hand-created-deb-package-fails-at-install-with-unable-to-create-on

Since find will output all directories and files, the ar command will
include a file twice (one when adding directory ar will include the
file inside it, one specific by filename), and the second one will be
a hardlink to the previous. This will case apt install failed as "error
creating hard link"

So now just let find output directories and files only as the first
level. And deeper files will be included automatically by ar.
2023-05-22 11:40:04 +08:00
leafee98 b57dab0489 fix indent 2023-04-04 18:00:22 +08:00
leafee98 b83e84b69c Clone with shared instead of simply restore worktree 2023-04-04 17:56:53 +08:00
leafee98 f53a2e1de8 Feature: "-STF" to show target deb file, refactor code 2023-03-28 21:41:14 +08:00
leafee98 5da0362dca use rel as part as version, pkgver now run just following extract source 2023-03-28 16:03:03 +08:00
leafee98 29574d90b4 support commit/branch/tag specific on git, log for git, lowercase log 2023-03-26 17:44:51 +08:00
leafee98 537e00828a more verbose log, git clone with mirror option 2023-03-26 17:44:47 +08:00
leafee98 e795418d4e Fix: wrong installed-size and change unit to KB 2023-03-26 14:30:44 +08:00
leafee98 409559a2e8 Fix: wrong escape of '$' 2023-03-26 14:01:54 +08:00
leafee98 f70ee6c40a update DEBBUILD for new project structure 2023-03-25 22:07:48 +08:00
leafee98 01e26e2840 Feature: check files existence before create symbolic link 2023-03-25 22:06:56 +08:00
leafee98 5e6a2aac7f Fix: wrong way to compare string, revert bcdd0ec481 2023-03-25 21:20:41 +08:00
leafee98 bcdd0ec481 Fix: wrong symbolic link 2023-03-25 21:08:49 +08:00
leafee98 50e9fafb0a Refactor project structure 2023-03-24 21:02:08 +08:00
leafee98 5f786671ea Fix: "unkown debian package" due to typo debian-binary 2023-03-24 21:00:11 +08:00
leafee98 eaa541541e [WIP] format code style 2023-03-24 20:40:24 +08:00
leafee98 b133963755 [WIP] more friendly error prompt 2023-03-24 20:23:19 +08:00
leafee98 0896012d95 [WIP] print line number and message when abort 2023-03-24 20:14:51 +08:00
leafee98 efb316796a [WIP] use variable everywhere in generate_deb, lowercase workspace 2023-03-24 16:11:56 +08:00
leafee98 fd8b089522 [WIP] refactor generate_deb 2023-03-24 16:11:49 +08:00
leafee98 bc221500b8 [WIP] the sample work 2023-03-24 15:06:38 +08:00
leafee98 a3a4d25b6f Inital commit 2023-03-24 15:05:35 +08:00