Skip to content

Instantly share code, notes, and snippets.

@shadeslayer
Created August 12, 2015 23:13
Show Gist options
  • Save shadeslayer/a267f7a615cc1ad5cbb6 to your computer and use it in GitHub Desktop.
Save shadeslayer/a267f7a615cc1ad5cbb6 to your computer and use it in GitHub Desktop.
Mount.mount(@btldrmntpt) do |boot_dir|
Mount.mount(@rootfsmntpt) do |rootfs_dir|
r = Firmware.new(@c)
t[:boot] = boot_dir
t[:modules] = "#{rootfs_dir}/lib/modules/"
r.install(t)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment