Age | Commit message (Collapse) | Author | Files | Lines |
|
The symlinks-full package should not include toybox and toybox-full
binaries which are provided by other packages. This patch fixes such
issue.
Change-Id: Id9c4a1d407788f2eedd848ea905436a7e326551e
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
Creating symbolic links using absolute path in the post script usually
fails during the 'mic' procedure so that this patch fixes such issue by
changing the absolute path in the script to the relative path.
Change-Id: I7078059a22b93876c027aea05a45dc0f266dbedb
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
Since the 'filesystem' package creates /bin and /sbin as symbolic links
to /usr/bin and /usr/sbin, respectively, in Tizen, it is unnecessary
that toybox creates symbolic links in /bin and /sbin by itself.
Change-Id: Ic9b799a3f1de48b5ddaa1815ab82d9adfea70871
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
This patch prepends 'toybox-' to names of symbolic links for su and
passwd in the toybox-symlinks-full package in order to avoid conflict
with those binaries provided by shadow-utils-* packages.
Change-Id: If8a6d46a293c73f99d7c39afe0b83d85ae3311c5
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
This patch prepends 'toybox-' to names of symbolic links for sh and
iconv in the toybox-symlinks-full package. Note that sh and iconv in
symlinks-full package conflicts with those of bash and glibc packages,
respectively.
Change-Id: I475844b7a12db88050e634ab58071005c1944827
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
|
|
Fixed JIRA/TFDF-2712.
According to the log message of "gbs build" command, ASAN has a bug.
In case that ASAN meets an unexpected situation, QEMU (ARM emulator) is
suddenly broken because of the abnormal operations of ASAN.
As a result of that, we could not get any hints from ASAN.
In order to fix this issue, This commit is to disable the below applets
to avoid an unexpected situation that ASAN option results in a corruption
of the ARM QEMU emulator of Tizen.
* Changelog:
1. Disbled optional applets that caused a QEMU/ASAN corruption
- CONFIG_CP_MORE: Copy files with additional option(s) such as -adlnrsv
- CONFIG_CP_PRESERVE: Copy files by taking a comma separated list of attributes
- CONFIG_LS_COLOR: Display file(s) and folder(s) with a tty device
- CONFIG_MKDIR_Z: Create one or more directories with a security context
- CONFIG_MKFIFO_Z: Create FIFOs (named pp3s) with a security context
- CONFIG_DECOMPRESS: Decompess (deflate) file(s).
2. Updated the configuration file
- Disabled SMACK
- Disabled I18N
* Error message:
[39s] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[39s] scripts/make.sh: line 218: 29303 Segmentation fault
(core dumped) generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h
[39s] Makefile:11: recipe for target 'toybox' failed
* How to reproduce:
- {arch_name}: i586, x86_64, armv7l, and aarch64
- u1604$ gbs build -A {arch_name} --include-all \
--extra-packs asan-force-options,asan-build-env \
--define 'asan 1'
Change-Id: I958e8db7b7b3b4a027ea4292388f264570eea372
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
|
|
This patch replaces 'ln' in the post script of the toybox-full package
with 'toybox-full ln'. This is because the ln command is availabe after
the toybox-symlinks-full package is installed.
Change-Id: I509e97f71b5b8e2098c23b41329d51ab065df8df
Signed-off-by: Wook Song <wook16.song@samsung.com>
|
|
Based on suggestions from Nicholas Boichat.
|
|
|
|
This commit is to provide a sub package that is called toybox-full.rpm
as well as toybox.rpm (small package that consists of 7 applets just).
The toybox-full.rpm file includes most of the applets including 'init'
command. This commit does not affect the execution of the existing
toybox.rpm file. As we all know, Busybox has been released with GPL license.
Above all, the latest version of Busybox is GPLV3+. We need to provide
another full package including 'init' command such as Toybox (BSD)
instead of the existing Buxybox package.
* Changelog:
Ver3:
- Declared toybox-full with "Conflicts".
- Declared "Requires" with %{name}-full for toyboxy-symlinsks-full
Ver2:
- Removed unnecessary line (Source44:***)
Ver1:
- Added toybox-full.rpm package
* aarch64: Comparison of the binary size between toybox and toybox-full
1. toybox (dynamic ELF): 84,720 bytes
- 7 applets: dhcp dhcpd dumpleases nslookup ping traceroute traceroute6
2. toybox-full(dynamic ELF): 557,008 bytes
- 208 applets
Change-Id: Ibc5fa77f7d1c7c80296520fe2a55561a9ca188ac
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
|
|
This reverts commit 06c4c30907004afb917eb3c00856adadbffebfda.
Change-Id: I8bf28b2a5e5426b8f002ce2cbdfcfa4b2a0be28b
|
|
Change-Id: Ife735f35dacad281c5d291eaad32fd867aa796dd
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
|
|
Change-Id: Ida9d618ce50bed3500414cd3752d7999c338468c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
|
|
Change-Id: I265952ac7adfd829c1e4ff46639e4b6afc097583
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
|
|
General packages especially at lower layers should avoid
being direclty dependent on profile information, which
enforces build system to build things redundantly and
makes much difficult to configure a system.
Change-Id: I5ee2715c537c4ad61c903a436bd8f8552111bd49
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
|
|
Change-Id: I57de29f91d945f2122c27f57bc8fd2a833eb0b74
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
|
|
Change-Id: Ida6ed51cefb34826dbc01792155bcab7d280c99a
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
|
|
Change-Id: I69ab6705c718f52afaaea472d1be911bcf56e683
|
|
Change-Id: I0680bbfdd709d26064ae67f595da692bf60b7dae
|
|
Change-Id: Ide839cfefc7c4049715f86a2bf769c333175b2bf
|
|
|
|
This reverts commit db57410065811e90515b62e22945f9b96140a3ac.
Change-Id: I71086db47d303cce381d769566988e68846d0dd9
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
|
|
Change-Id: I13abf52981096e383bf2abb0afb013a9f02d5e05
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
|
|
Change-Id: Ieb878c674e058170051b1e6256a88da8cc3bf819
|
|
and enable all smack feature
Change-Id: I303da3d33c726c8b1125a8d85fd309a41e7368f6
|
|
Change-Id: I8f677c6b41e1244af404e4fe995599780d01480e
|
|
Change-Id: Ie14cf29b932ad1a9c0729595f4482b5cb8ef3027
|
|
Change-Id: Ia6f475fa1e6bef4b867694a398f6f15d34480d6e
|
|
And version 0.6.0 applied
Change-Id: Iabc3dc2fc4bd984a114445d8b70df57eb43c3b16
|
|
Change-Id: If720a5a800aea7764f81325fed678a1b52dbb419
|
|
|
|
file
Change-Id: I102fa968d392e6b120f3f154d7fd816214d85998
Signed-off-by: Yeongdeok Suh <yduck.suh@samsung.com>
|
|
Correctly and portably check for non-normal dates, and explicitly show
the "before" and "after" dates (in the format of the user's choosing).
Clear the struct tm in date_main rather than parse_default because on
one path the struct tm is actually initialized. Explicitly clear the
tm_sec field in parse_default because -- experiment shows -- that
should not be preserved. Only do the "what does this 2-digit year
mean?" dance if we actually parsed a 2-digit year. Show the right
string in the error message if strptime fails.
Also add more tests, and use UTC in the tests to avoid flakiness.
|
|
uninitialized trash in struct tm fields could segfault glibc's strftime().
|
|
looks like. dd uses "7 MB" where du uses "7M", for example. this patch
adds flags, similar to the BSD humanize_number. most callers will pass 0.
|
|
|
|
It's user then group, not the other way round.
|
|
mkbootimg was rewritten as a python script a while ago, and I just
deleted gpttool. (gptfdisk is in external/, but I'm assuming the
existing entry for fdisk is meant to cover that.)
|
|
|
|
|
|
|
|
|
|
|
|
Given modprobe -a, it's important to not exit early for a failure to
load a module; additionally, the rest of the code presumes that this
can fail without exiting.
|
|
Add the MS_MOVE of cwd to / and chroot into it. chdir is also
called to ensure cwd does not point outside the chroot.
The switch_root toy was also blocking any case where NEW_ROOT/init
did not exist, even though NEW_INIT was a required parameter and
did not have to be '/init'. Change it to handle any NEW_INIT
passed as either a relative or absolute path.
With this change, the switch_root toy actually works from initramfs.
|
|
not stomping on gnu's "an extra argument tells it to set the time so let's
add -s to do the same thing" extension).
Nanoseconds aren't uniformly supported by these apis, so had to stick it in
GLOBALS() and pull it out later. Awkward, open to suggestions for a better way.
(Also, the setting API is microseconds, not nanoseconds. Collect nano, convert
to micro so we can switch APIs later without changing date's external UI again.)
Oh, and shrink really_long_name_mktime() with a for() loop (and rename it)
although I may go back and redo that for portability to hypothetical libraries
if I can convert this mess to struct timespec with proper nanoseconds support.
But that needs an extended strptime() which needs an extended struct tm,
and between us and that is convincing posix computers got fast enough to
care about fractions of a second.
(Yes, I'm aware gnu added %N to date without adding it to strptime, implying
they reimplemented strptime longhand inside date. I'm not doing that.)
|
|
Humans get upset when date(1) lets mktime(3) work out what the 99th day
of the 99th month would be rather than rejecting the invalid date. For
the subtly wrong cases, rather than get into the leap year business,
let's rely on localtime_r(3).
|
|
|
|
|