<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/applets, branch fix_backslash</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=fix_backslash</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=fix_backslash'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-08-14T12:35:10+00:00</updated>
<entry>
<title>busybox: add option to install to Unix-style paths</title>
<updated>2020-08-14T12:35:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-14T12:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c775e9de197afe1cc0907f559f7cab36d52c93fa'/>
<id>urn:sha1:c775e9de197afe1cc0907f559f7cab36d52c93fa</id>
<content type='text'>
The command 'busybox --install -u' installs links to Unix-style
paths in the system drive.
</content>
</entry>
<entry>
<title>ps: add support for the args column</title>
<updated>2019-01-08T15:51:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-01-08T15:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bade8b3460ea3cf1182cd1bda9faf8b6ccee6a25'/>
<id>urn:sha1:bade8b3460ea3cf1182cd1bda9faf8b6ccee6a25</id>
<content type='text'>
Implement read_cmdline() for WIN32 by storing the command line in
the same way as the applet name.

The applet name is actually used for the comm column which is
truncated to COMM_LEN.  Using this as the size of the bb_comm
array avoids the need to calculate MAX_APPLET_NAME_LEN.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-11-28T10:28:18+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-11-28T10:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2a69a2200a141c1504b662eca64b802cdab71b12'/>
<id>urn:sha1:2a69a2200a141c1504b662eca64b802cdab71b12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build system: prevent duplicate applet names</title>
<updated>2018-11-27T09:47:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-11-25T11:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2d217799e8f23514ad3be6a951aa928c265bc6a4'/>
<id>urn:sha1:2d217799e8f23514ad3be6a951aa928c265bc6a4</id>
<content type='text'>
The embedded script feature makes it easier to create applets with
duplicate names.  Currently in such cases the build succeeds but
the resulting executable doesn't work as the developer intended.

Catch duplicate names when the applet tables are being generated
and make the build fail.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Treat custom and applet scripts as applets</title>
<updated>2018-11-17T20:16:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-11-17T17:48:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3778898f97a64e7b42b53194af7f3b93cc9c07a3'/>
<id>urn:sha1:3778898f97a64e7b42b53194af7f3b93cc9c07a3</id>
<content type='text'>
BusyBox has support for embedded shell scripts.  Two types can be
distinguished:  custom scripts and scripts implementing applets.

Custom scripts should be placed in the 'embed' directory at build
time.  They are given a default applet configuration and appear
as applets to the user but no further configuration is possible.

Applet scripts are integrated with the BusyBox build system and
are intended to be used to ship standard applets that just happen
to be implemented as scripts.  They can be configured at build time
and appear just like native applets.

Such scripts should be placed in the 'applets_sh' directory.  A stub
C program should be written to provide the usual applet configuration
details and placed in a suitable subsystem directory.  It may be
helpful to have a configuration option to enable any dependencies the
script requires:  see the 'nologin' applet for an example.

function                                             old     new   delta
scripted_main                                          -      41     +41
applet_names                                        2773    2781      +8
applet_main                                         1600    1604      +4
i2cdetect_main                                       672     674      +2
applet_suid                                          100     101      +1
applet_install_loc                                   200     201      +1
applet_flags                                         100     101      +1
packed_usage                                       33180   33179      -1
tryexec                                              159     152      -7
evalcommand                                         1661    1653      -8
script_names                                           9       -      -9
packed_scripts                                       123     114      -9
complete_cmd_dir_file                                826     811     -15
shellexec                                            271     254     -17
find_command                                        1007     990     -17
busybox_main                                         642     624     -18
run_applet_and_exit                                  100      78     -22
find_script_by_name                                   51       -     -51
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 6/9 up/down: 58/-174)          Total: -116 bytes
   text	   data	    bss	    dec	    hex	filename
 950034	    477	   7296	 957807	  e9d6f	busybox_old
 949918	    477	   7296	 957691	  e9cfb	busybox_unstripped

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-09-10T13:59:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-09-10T13:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d89ced75b204f0eb5611f522864beb81d1b393f5'/>
<id>urn:sha1:d89ced75b204f0eb5611f522864beb81d1b393f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>install.sh: don't clobber dangling symlinks</title>
<updated>2018-07-31T13:49:19+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2018-07-17T10:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3d07446cef196c8c6f92a4d8006a56d348fca062'/>
<id>urn:sha1:3d07446cef196c8c6f92a4d8006a56d348fca062</id>
<content type='text'>
Symlinks in a subdirectory that is to become target rootfs are sometimes
dangling because they link to canonical file names that are not present
on the host, but are present relative to the target rootfs root. Don't
copy over dangling symlinks when noclobber is enabled

The -e test treats dangling symlinks as non-existent files. Add -h test
that returns true for all symlinks.

Cc: Yann E. MORIN &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2018-05-13T07:15:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-05-13T07:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d'/>
<id>urn:sha1:3ce461fdf3b7adfd44ea058fa0c5ca6d91a5bc5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>applets/install: don't try to install nothing</title>
<updated>2018-04-15T10:07:22+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2018-04-15T08:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=296381ff4f69715ed880adcce7d5ce608153e767'/>
<id>urn:sha1:296381ff4f69715ed880adcce7d5ce608153e767</id>
<content type='text'>
Commit 952d5a6024e7 (applets/install: accept more than one install
option) changed the way we handle install options: before that commit, a
missing install type would mean to install nothing; after, we would
iterate over options, so we would never notice there was a mising
option.

Fix that by introducing an explicit --none option to specify to install
nothing.

Reported-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Cc: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Cc: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
Signed-off-by: Yann E. MORIN &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: fix parallel building issue</title>
<updated>2018-04-13T23:55:51+00:00</updated>
<author>
<name>Michael Olbrich</name>
<email>m.olbrich@pengutronix.de</email>
</author>
<published>2018-04-12T08:36:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=43dd0062229170747dcbee0a2a87b8e5ee2f09d6'/>
<id>urn:sha1:43dd0062229170747dcbee0a2a87b8e5ee2f09d6</id>
<content type='text'>
The files generated by the include/config/MARKER target are in the
dependency list for applets/applet_tables.
If applets/applet_tables is created first during applets_dir then it will
be created again later as part of $(busybox-dirs).
As a result include/applet_tables.h is created again. This time while other
build commands may need it.

Let applets_dir depend on include/config/MARKER to avoid this particular
race condition and create the header files atomically to ensure that the
compiler never sees incomplete files.

Signed-off-by: Michael Olbrich &lt;m.olbrich@pengutronix.de&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
