Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
05c3dafc
Commit
05c3dafc
authored
Feb 18, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/profile.mk, build-distro: save current commit, when generating a profile
Images building from the generated profile will have mkimage-profiles commit information.
parent
7318e05d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
90-build-distro.mk
features.in/build-distro/lib/90-build-distro.mk
+1
-5
profile.mk
lib/profile.mk
+3
-0
No files found.
features.in/build-distro/lib/90-build-distro.mk
View file @
05c3dafc
...
@@ -40,8 +40,4 @@ dot-disk:
...
@@ -40,8 +40,4 @@ dot-disk:
fi
fi
@echo "$(ARCH)" >files/.disk/arch
@echo "$(ARCH)" >files/.disk/arch
@echo "$(DATE)" >files/.disk/date
@echo "$(DATE)" >files/.disk/date
@if type -t git >&/dev/null; then \
@if [ -s commit ]; then cp commit files/.disk/; fi
( cd $(TOPDIR) && test -d .git && \
git show-ref --head -ds -- HEAD ||:) \
>files/.disk/commit 2>/dev/null; \
fi
lib/profile.mk
View file @
05c3dafc
...
@@ -71,6 +71,9 @@ profile/init: distclean
...
@@ -71,6 +71,9 @@ profile/init: distclean
[ "$(CHECK)" = 0 ] || exit 1; \
[ "$(CHECK)" = 0 ] || exit 1; \
fi; \
fi; \
fi; \
fi; \
if type -t git >&/dev/null && [ -d .git ]; then \
git show -s --format=%H > "$(BUILDDIR)"/commit; \
fi; \
mp-commit -i "$(BUILDDIR)" "derivative profile initialized"; \
mp-commit -i "$(BUILDDIR)" "derivative profile initialized"; \
if [ -w . ]; then \
if [ -w . ]; then \
rm -f "$(SYMLINK)" && \
rm -f "$(SYMLINK)" && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment