Bug 2443 - Initramfs: Don't overwrite $(TARGET_DIR)/init if it exists
Summary: Initramfs: Don't overwrite $(TARGET_DIR)/init if it exists
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC All
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 09:15 UTC by Frederik Pasch
Modified: 2010-08-29 21:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch (354 bytes, patch)
2010-08-27 09:17 UTC, Frederik Pasch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Pasch 2010-08-27 09:15:57 UTC
I'm using a custom init-script in initramfs (instead of /sbin/init). I placed it in my target-skeleton.

The following patch is needed to disable overwriting it everytime initramfs.mk is called.


Simon Pasch
Comment 1 Frederik Pasch 2010-08-27 09:17:41 UTC
Created attachment 2377 [details]
Patch
Comment 2 Peter Korsgaard 2010-08-29 21:34:20 UTC
Committed, thanks