Re: How to cross-compile "busybox" for aarch64 ARM architecture

2018-09-04 Thread Sean MacLennan
On Tue, 4 Sep 2018 11:35:44 +0200 Mohammed Bey Ahmed Khernache wrote: > Hello, > I am using ADB to communicate with a Snapdragon 810 board which is > equipped with Android OS. ADB is very limited in terms of commands it > proposes. Therefore, I would like to use "busybox" utility to be able > to

Re: Make busybox more portable part deux

2018-03-07 Thread Sean MacLennan
On Sat, 03 Mar 2018 23:18:46 + "Laurent Bercot" wrote: > >Not all systems have SA_RESTART, but signal_SA_RESTART_empty_mask() > >is required to build busybox. This at least allows you to build on > >systems without SA_RESTART. > > SA_RESTART is POSIX, and

Make busybox more portable

2018-03-03 Thread Sean MacLennan
Move some distro specific include files into the appropriate #ifdef blocks to make the code more portable. Signed-off-by: Sean MacLennan <se...@seanm.ca> --- diff --git a/libbb/missing_syscalls.c b/libbb/missing_syscalls.c index 0934128..36bb9f1 100644 --- a/libbb/missing_syscalls.c +++ b

Make busybox more portable part deux

2018-03-03 Thread Sean MacLennan
Not all systems have SA_RESTART, but signal_SA_RESTART_empty_mask() is required to build busybox. This at least allows you to build on systems without SA_RESTART. Signed-off-by: Sean MacLennan <se...@seanm.ca> --- diff --git a/libbb/signals.c b/libbb/signals.c index 3f58932..591670e

Re: HOME variable in init/init.c

2018-09-15 Thread Sean MacLennan
On Sat, 15 Sep 2018 18:36:27 +0300 Asaf Kahlon wrote: > I would like to know why HOME was set to "/" at init/init.c (the > comment above the code just says "Make sure environs is set to > something sane")? I would expect it to be "/root" considering that > USER has been set to "root"... I don't