Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stage-1-init: add support for the ability of specify a name of squashfs image #9722

Closed
wants to merge 1 commit into from

Conversation

akaWolf
Copy link
Member

@akaWolf akaWolf commented Sep 8, 2015

It's very useful to have such ability, since sometimes exists a need to create bootable USB flash drive with multiple distributives and their versions. Currently with NixOS it's only possible to create one more partition with squashfs image. After that change you can specify the name of squashfs image (like boot.iso=nixos32/rootfs.squashfs in the boot kernel options of bootloader config), and the need in creation additional partition will dissapear.

@akaWolf
Copy link
Member Author

akaWolf commented Sep 8, 2015

cc @edolstra

@akaWolf
Copy link
Member Author

akaWolf commented Dec 24, 2015

@edolstra can you review that PR?

@joachifm
Copy link
Contributor

joachifm commented Mar 1, 2016

This change doesn't affect existing configs (barring potential syntax errors) and so could probably be merged without @edolstra's explicit approval, esp. seeing as they have not found it necessary to comment. I suppose the only point of contention is whether the use case occurs frequently enough to warrant the increase in code size. I have no use for this myself and so hesitate to merge without ACK from someone who might care.

@@ -108,6 +108,10 @@ for o in $(cat /proc/cmdline); do
boot.panic_on_fail|stage1panic=1)
panicOnFail=1
;;
boot.iso=*)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be called boot.image instead ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both variants are acceptable for me.

@akaWolf akaWolf changed the title stage-1-init: add support for possibility of specify a name of squashfs image stage-1-init: add support for the ability of specify a name of squashfs image Mar 27, 2016
@joachifm
Copy link
Contributor

joachifm commented Sep 5, 2016

@akaWolf are you still interested in getting this integrated?

@akaWolf
Copy link
Member Author

akaWolf commented Sep 5, 2016

@joachifm why not? yep, I'm interested.

@matthiasbeyer
Copy link
Contributor

I propose to close this. It is inactive for almost two years now.

@zimbatm zimbatm closed this May 7, 2018
@nixos-discourse
Copy link

This pull request has been mentioned on Nix community. There might be relevant details there:

https://discourse.nixos.org/t/easy-to-use-nixos-image-generators/1887/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants