https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162011-04-08T14:07:07ZpfSense bugtrackerpfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=53402011-04-08T14:07:07ZYehuda Katz
<ul></ul><p>The formatting of that ticket came out really bad.</p>
<blockquote>
<p>if [ $KERNELTYPE = "UP" ]; then</p>
<blockquote>
<p>if [ -f /kernels/kernel_SMP.gz ]; then</p>
<blockquote>
<p>tar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/</p>
</blockquote>
<p>fi</p>
</blockquote>
<p>fi</p>
</blockquote> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=53412011-04-08T14:08:45ZYehuda Katz
<ul></ul><p>Let's try one more time...</p>
<blockquote>
<p>if [ $KERNELTYPE = "UP" ]; then</p>
<blockquote>
<p><del>if [ -f /kernels/kernel_SMP.gz ]; then</del><br /><ins>if [ -f /kernels/kernel_uniprocessor.gz ]; then</ins></p>
<blockquote>
<p>tar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/</p>
</blockquote>
<p>fi</p>
</blockquote>
<p>fi</p>
</blockquote> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=53422011-04-08T14:10:17ZJim Pingle
<ul></ul><p>Use the pre button for code.</p>
<p>The issue here is somewhat moot: The UP kernel is eventually going to be phased out. The SMP kernel option has been in the UP kernel for the past several months and nobody has noticed. This code is just making that change for people for when the UP kernel goes away.</p> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=80092012-02-27T14:44:58ZJim Pingle
<ul><li><strong>Subject</strong> changed from <i>Typo? in /tmp/post_upgrade_command</i> to <i>Typo? in /tmp/post_upgrade_command prevents UP kernel upgrade</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/8009/diff?detail_id=5281">diff</a>)</li></ul> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=80102012-02-27T14:46:23ZSeth Mosseth.mos@dds.nl
<ul></ul><p>but if the system does have a UP kernel, it won't be replaced on upgrade. Newer snapshots do not have a UP kernel files so fails to copy the new SMP into place where the UP was.</p> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=80112012-02-27T14:46:48ZSeth Mosseth.mos@dds.nl
<ul><li><strong>Category</strong> set to <i>Upgrade</i></li><li><strong>Target version</strong> set to <i>2.1</i></li><li><strong>Affected Version</strong> set to <i>2.1</i></li></ul> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=80542012-02-28T12:10:15ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Fixup the kernel upgrade code a bit to be safer, and assume SMP in the default case, and also war..." href="https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/e684290f77f9dacd1ecc9553d468dbb104cd6fe4">e684290f77f9dacd1ecc9553d468dbb104cd6fe4</a>.</p> pfSense - Bug #1427: Typo? in /tmp/post_upgrade_command prevents UP kernel upgradehttps://redmine.pfsense.org/issues/1427?journal_id=88652012-05-08T09:05:01ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>