<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/package/base-files/files/lib/upgrade, branch master</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>sysupgrade: fixes broken pipe error during sysupgade</title>
<updated>2013-05-05T12:41:42+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-05-05T12:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=6b897bcdc144439050e38d82e506fc9d8d1827d3'/>
<id>6b897bcdc144439050e38d82e506fc9d8d1827d3</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36548 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36548 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: sysupgrade fail with eglibc</title>
<updated>2013-03-22T10:06:06+00:00</updated>
<author>
<name>florian</name>
<email>florian@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-22T10:06:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=fbdb365ec23e45cbb1b68bfcffaad1d220400502'/>
<id>fbdb365ec23e45cbb1b68bfcffaad1d220400502</id>
<content type='text'>
With eglibc, "ldd busybox" give us
    libcrypt.so.1 =&gt; /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 =&gt; /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 =&gt; /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 =&gt; /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER &lt;etienne.champetier@free.fr&gt;
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With eglibc, "ldd busybox" give us
    libcrypt.so.1 =&gt; /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 =&gt; /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 =&gt; /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 =&gt; /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER &lt;etienne.champetier@free.fr&gt;
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[base-files] sysupgrade was broken as procd was getting killed</title>
<updated>2013-03-14T18:43:58+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-14T18:43:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=98636ab77d7e7ce6d4f2d1d977708ad0f1d635e0'/>
<id>98636ab77d7e7ce6d4f2d1d977708ad0f1d635e0</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36031 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36031 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[base-files] make basefiles aware of procd</title>
<updated>2013-03-13T18:11:19+00:00</updated>
<author>
<name>blogic</name>
<email>blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-03-13T18:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=35dde6748e98a2a7725e220c5ea8f63c7d9c185c'/>
<id>35dde6748e98a2a7725e220c5ea8f63c7d9c185c</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[package/base-files] hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade</title>
<updated>2012-12-21T12:10:21+00:00</updated>
<author>
<name>mirko</name>
<email>mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-12-21T12:10:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=5ca25ac981296646898bc8810dd31e01ebaf84d1'/>
<id>5ca25ac981296646898bc8810dd31e01ebaf84d1</id>
<content type='text'>
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34815 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34815 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not overload mount-call - trying to reduce confusion</title>
<updated>2012-12-19T16:07:46+00:00</updated>
<author>
<name>mirko</name>
<email>mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-12-19T16:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=53edda1e3668752d18b2bbf4c3d6edc7e3ab1b6e'/>
<id>53edda1e3668752d18b2bbf4c3d6edc7e3ab1b6e</id>
<content type='text'>
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[package] base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it</title>
<updated>2012-07-03T15:43:43+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-03T15:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=0a5e27843553ec1beb43428168c9153717a77017'/>
<id>0a5e27843553ec1beb43428168c9153717a77017</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32587 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32587 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[package] /etc/functions.sh =&gt; /lib/functions.sh</title>
<updated>2012-06-05T16:04:23+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-06-05T16:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=aa44be4505a2a98c53833914dc95a470a0505b20'/>
<id>aa44be4505a2a98c53833914dc95a470a0505b20</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: kill ubusd and udhcpc on sysupgrade as well</title>
<updated>2012-05-23T21:54:12+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-05-23T21:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=d6429431316037f91a9ac244ecf39e51e18e8451'/>
<id>d6429431316037f91a9ac244ecf39e51e18e8451</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade</title>
<updated>2012-05-23T21:49:31+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-05-23T21:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=e2590c8421cc09165baf9cb1ef892426dd890ba7'/>
<id>e2590c8421cc09165baf9cb1ef892426dd890ba7</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
