<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/mdk-stage1/stage1.c, branch 16.70</title>
<subtitle>Mageia Installer and base platform for many utilities</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/'/>
<entry>
<title>stage1: Switch to a new mode of knowing when to re-exec init.</title>
<updated>2013-10-29T20:29:08+00:00</updated>
<author>
<name>Colin Guthrie</name>
<email>colin@mageia.org</email>
</author>
<published>2013-10-28T23:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=33a891128a5ac6fa2c581ef4106fe569f47eb867'/>
<id>33a891128a5ac6fa2c581ef4106fe569f47eb867</id>
<content type='text'>
Now that dracut runs stage1 earlier, we need to store it's exit code
for later reuse. In this, the separate dracut module will just write a
flag file in /run/drakx/ to indicate that we want to re-exec /sbin/init
(after doing some symlinks and /usr bind mount) rather than run the install.

As a result there is no need to return 0x35 ('procced') so just return
0 and keep 0x35 return code for when we really do need to restart stage1
(e.g. on a fatal error). The dracut module should loop if 0x35 is
ever returned.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that dracut runs stage1 earlier, we need to store it's exit code
for later reuse. In this, the separate dracut module will just write a
flag file in /run/drakx/ to indicate that we want to re-exec /sbin/init
(after doing some symlinks and /usr bind mount) rather than run the install.

As a result there is no need to return 0x35 ('procced') so just return
0 and keep 0x35 return code for when we really do need to restart stage1
(e.g. on a fatal error). The dracut module should loop if 0x35 is
ever returned.
</pre>
</div>
</content>
</entry>
<entry>
<title>stage1: Move the symlink creation from stage1 to init.</title>
<updated>2013-10-29T20:29:07+00:00</updated>
<author>
<name>Colin Guthrie</name>
<email>colin@mageia.org</email>
</author>
<published>2013-10-19T20:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=c4321813f9f3cd4136203d52c0f20343d7722228'/>
<id>c4321813f9f3cd4136203d52c0f20343d7722228</id>
<content type='text'>
In order to run stage1 we now need to do things a little differently,
namely that we move the symlinking fixups into 'init' itself which we will
actually call as a kind of fake switch_root implementation to avoid
hacking dracut too much[1]. As we run stage1 during dracut's 'mount' phase
we should not do the symlink hacks so early otherwise it will mess up
the rest of the dracut initqueue processing.

Currently, the initrd's /usr is nuked and then symlinked, but to
allow for easier debugging I now just bind mount the stage2 /usr over
the top which allows us to unmount it again easily enough if we want to
go back.

We no longer touch the /bin, /sbin or /lib[64] symlinks as these are
relative and simply bind mounting /usr is enough to fix all of them.

1. This scheme will have to change if we eventually swtich to a
systemd based dracut invocation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to run stage1 we now need to do things a little differently,
namely that we move the symlinking fixups into 'init' itself which we will
actually call as a kind of fake switch_root implementation to avoid
hacking dracut too much[1]. As we run stage1 during dracut's 'mount' phase
we should not do the symlink hacks so early otherwise it will mess up
the rest of the dracut initqueue processing.

Currently, the initrd's /usr is nuked and then symlinked, but to
allow for easier debugging I now just bind mount the stage2 /usr over
the top which allows us to unmount it again easily enough if we want to
go back.

We no longer touch the /bin, /sbin or /lib[64] symlinks as these are
relative and simply bind mounting /usr is enough to fix all of them.

1. This scheme will have to change if we eventually swtich to a
systemd based dracut invocation.
</pre>
</div>
</content>
</entry>
<entry>
<title>stage1: Correct path to shell</title>
<updated>2013-10-29T20:29:07+00:00</updated>
<author>
<name>Colin Guthrie</name>
<email>colin@mageia.org</email>
</author>
<published>2013-10-19T18:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=7213bee2f13e551bffb7754846726833e196719b'/>
<id>7213bee2f13e551bffb7754846726833e196719b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kill long dead argument</title>
<updated>2013-03-23T12:30:30+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2013-03-23T12:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=7f5ba91f5a39d72f320f337749fb08cd762f0a00'/>
<id>7f5ba91f5a39d72f320f337749fb08cd762f0a00</id>
<content type='text'>
the "Additional Drivers floppy" is long dead
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the "Additional Drivers floppy" is long dead
</pre>
</div>
</content>
</entry>
<entry>
<title>(my_insmod) rename as (my_modprobe) as it really what it is</title>
<updated>2013-03-23T12:30:25+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2013-03-23T12:30:25+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=e9943abec27d5e244f3c3e86ae4905356ab67e85'/>
<id>e9943abec27d5e244f3c3e86ae4905356ab67e85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kill firmware loader now that firmware are loaded by the kernel</title>
<updated>2012-12-21T17:37:51+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-12-21T17:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=a90e0a6af9eb413f5993933ec7f3d93ae3948dfb'/>
<id>a90e0a6af9eb413f5993933ec7f3d93ae3948dfb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(handle_hid) s/hid-generic/hid_generic/ thus making hid_generic loading silent</title>
<updated>2012-09-03T17:29:36+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-09-03T17:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84'/>
<id>73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84</id>
<content type='text'>
rationale: it fixes detecting if module was already loaded or not
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rationale: it fixes detecting if module was already loaded or not
</pre>
</div>
</content>
</entry>
<entry>
<title>(handle_hid) load hid-generic</title>
<updated>2012-08-31T16:44:34+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-08-31T16:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=cd4b3c5b91aaebde60e1acf88153a9e4326d551f'/>
<id>cd4b3c5b91aaebde60e1acf88153a9e4326d551f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kill dead emails</title>
<updated>2012-01-27T07:14:12+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-01-27T07:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=ad4570357d9120426c1b25e6e39f919cd7e87e49'/>
<id>ad4570357d9120426c1b25e6e39f919cd7e87e49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(handle_pcmcia) kill obsolete test for 2.2 kernel (patch from tv)</title>
<updated>2011-12-28T22:38:10+00:00</updated>
<author>
<name>Thomas Backlund</name>
<email>tmb@mageia.org</email>
</author>
<published>2011-12-28T22:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=9f64990530e6bf4e25063e50387d7b2d94aa24ff'/>
<id>9f64990530e6bf4e25063e50387d7b2d94aa24ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
