Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Customize initramfs SD fallback
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Customize initramfs SD fallback
6th Aug, 2014, 10:02 PM
Post: #7
rlogiacco Offline
Registered
Posts: 22
Joined: Jul 2014
Reputation: 0
RE: Customize initramfs SD fallback
(6th Aug, 2014 09:02 PM)mk01 Wrote:  @rlogiacco

to merge idea like this into XBian I would prefer more generalised approach. let's define some fix points during initramfs run (after-virtual-filesystems; before-root-mount; after-network-done; before-move-root).

then we can create folders
Code:
/etc/xbian-initramfs/after-virtual-filesystems
......before-root-mount
......after-network-done
......before-move-root

then any script existing there will be always copied to initramfs and started at the specific stage. that way we never have to update init script or update-initramfs again. user can just put / remove scripts from the directories.

Totally with you! Please consider though I had to mount /boot inside my script as it was not mounted yet at that stage: to avoid any possible mess I unmounted it as well.

If those dirs did exist I would definitely have used them... I actually tried to use those named premount-init and premount-local under /etc/initramfs-tools but they aren't used for the purpose I thought....
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Customize initramfs SD fallback - rlogiacco - 31st Jul, 2014, 05:58 PM
RE: Customize initramfs - CurlyMo - 31st Jul, 2014, 06:20 PM
RE: Customize initramfs - rlogiacco - 31st Jul, 2014, 07:41 PM
RE: Customize initramfs for SD fallback - rlogiacco - 3rd Aug, 2014, 01:26 AM
RE: Customize initramfs SD fallback - rlogiacco - 4th Aug, 2014, 08:21 PM
RE: Customize initramfs SD fallback - mk01 - 6th Aug, 2014, 09:02 PM
RE: Customize initramfs SD fallback - rlogiacco - 6th Aug, 2014 10:02 PM
RE: Customize initramfs SD fallback - mk01 - 6th Aug, 2014, 10:08 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th Jun, 2025, 01:59 AM Powered By MyBB, © 2002-2025 MyBB Group.