Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
e92be472
Commit
e92be472
authored
Oct 03, 2019
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide comments
parent
096ef926
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
linux-xlnx_2019.1.bbappend
recipes-kernel/linux/linux-xlnx_2019.1.bbappend
+4
-5
No files found.
recipes-kernel/linux/linux-xlnx_2019.1.bbappend
View file @
e92be472
...
@@ -193,13 +193,12 @@ kernel_do_compile_prepend() {
...
@@ -193,13 +193,12 @@ kernel_do_compile_prepend() {
if [ ! -f ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.gz ] ; then
if [ ! -f ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.gz ] ; then
echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found"
echo "${INITRAMFS_IMAGE}-${MACHINE}.cpio is not found"
bbplain "${GREEN}ELPHEL NOTE: Missing initramfs from the previous build. Will have to run the second kernel compilation pass.${NC}"
# bbplain "${GREEN}ELPHEL NOTE: Missing initramfs from the previous build. Will have to run the second kernel compilation pass.${NC}"
echo "Unfortunately we will have to rebuild it and bundle in the do_bundle_initramfs task"
echo "Will run the second pass for the kernel in the do_bundle_initramfs task"
echo "This will take a ton of time... :("
else
else
echo "There's the old ${INITRAMFS_IMAGE}-${MACHINE}.cpio from a previous build"
echo "There's the old ${INITRAMFS_IMAGE}-${MACHINE}.cpio from a previous build"
echo "Let's happily bundle it
and save a lot of time
."
echo "Let's happily bundle it."
bbplain "${GREEN}ELPHEL NOTE: Using initramfs from the previous build - this saves time by skipping the second kernel compilation pass.${NC}"
#
bbplain "${GREEN}ELPHEL NOTE: Using initramfs from the previous build - this saves time by skipping the second kernel compilation pass.${NC}"
copy_initramfs
copy_initramfs
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
# indicate to do_bundle_initramfs() task that initramfs was bundled
# indicate to do_bundle_initramfs() task that initramfs was bundled
...
...
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