Commit Graph

44 Commits

Author SHA1 Message Date
Michael Shigorin
8d2cd5aec8 initial verify_ramdisk_digest()
This is a patch by Maxim Suhanov <suhanov/group-ib.ru>
aiming to provide integrity and authenticity check for
stage2 rootfs image when required:

- media bootloader passes sha256 hash of stage2 image;
- stage1 early userspace code (that is, propagator)
  checks the candidate files against that during search;
- existing file with different checksum results in a warning
  with a dialog to just say NO, continue searching for the
  proper squashfs image and have a look at that weird one;
- existing file with correct checksum results in booting
  as usual.

The check is triggered by "hash=..." kernel boot parameter.

See also http://www.forensicswiki.org/wiki/Forensic_Live_CD_issues
2014-04-19 12:49:58 +04:00
Sisyphus
edeef5c887 20130822-alt1
- don't panic of mkdir(2) if directory already exist
- init: fix trying mount devtmpfs into /dev
- support build with MUSL
2013-11-06 20:35:02 +04:00
Sisyphus
db43d06caf Makefile: add MUSL_LDFLAGS 2013-11-06 20:34:30 +04:00
Led
1915f90346 add common mkdir_dev() and mkdirs_dev() funcs
mkdir_dev() use for create subdir with mode 0755 in /dev directory
and return success if subdir already exist.
mkdirs_dev() used mkdir_dev() for create multiple subdirs.
2013-11-06 20:34:29 +04:00
Anton V. Boyarshinov
9f547f5cb8 20121002-alt1
- no more initfs
2012-11-09 14:17:14 +04:00
Anton V. Boyarshinov
7ebaf88ef3 Makefile: install init into buildroot 2010-11-30 22:15:52 +03:00
Nick S. Grechukh
376fc7f58d nice version.h 2009-07-29 17:52:02 +03:00
Nick S. Grechukh
4bfc2ac6a6 removed parsing of /etc/altlinux-release 2009-07-29 17:43:21 +03:00
Sergey Bolshakov
a98b11416c 20080301-alt2 released 2008-03-16 02:25:40 +03:00
Sergey Bolshakov
e918341c2d use external /bin/nfsmount from klibc 2008-03-13 19:12:12 +03:00
Sergey Bolshakov
dd757bba09 made standalone `init' binary to save few KB's 2008-03-12 15:19:18 +03:00
Sergey Bolshakov
e406384cf6 mkmodpack utility added, replacing obsolete mkmar one 2008-03-07 19:03:47 +03:00
Sergey Bolshakov
0a6af0fb35 massive change caused by udev use in initramfs:
- added udevd, udevtrigger & udevsettle spawning from init,
reproducing nead same logic, found in initrd, created by
/sbin/mkinitd
- lots of obsolete by this change stuff removed
- use external /sbin/modprobe form klibc utils
in places, where manual module loading still needed
- pack unchangeable part of initramfs into `initfs'
file (gzipped cpio archive), which may be concatenated later
with other parts (especially kernel modules) to form
actual initramfs image.
2008-03-01 22:02:06 +03:00
Sergey Bolshakov
39287d0818 - added /sbin/splash execution, if exists 2007-05-25 16:37:51 +04:00
Sergey Bolshakov
4a1dfe6fcd - 20070301-alt1 released 2007-03-16 15:08:50 +03:00
Sergey Bolshakov
48d26b2d15 - cleaned up 2007-03-03 00:48:18 +03:00
Sergey Bolshakov
cc2e4b59f6 - switch to glibc 2007-02-27 16:54:57 +03:00
Sergey Bolshakov
b666a6da01 - usbhid probe fixed
- only one stage1 binary built
2006-11-24 17:58:05 +03:00
Sergey Bolshakov
b3d7bc862d - sandman-related hacks removed 2006-11-21 15:51:06 +03:00
Anton Kachalov
7709157d88 - fix 2005-08-05 13:33:39 +00:00
Anton Kachalov
59d68ab38c - fallback mouse@ changes
- force gencpio compilation by gcc instead of diet cc
2005-08-04 20:18:57 +00:00
Anton Kachalov
8cdca1b62b - multilib support
- build with updated diet-*
2005-07-07 23:45:12 +00:00
Anton Farygin
e2433597c4 gencpio added to clean 2005-03-05 15:39:39 +00:00
Sergey Bolshakov
44bc6e0be3 hide pppoe for a while 2005-02-28 19:26:48 +00:00
Sergey Bolshakov
74b6fa7a73 nfs->iso scheme added
obsolete #define ripped out
2005-02-04 20:28:52 +00:00
Sergey Bolshakov
a4108d4897 massaged for gcc3.4
unconditional usb support
usb probing fixed again
2005-01-21 17:03:46 +00:00
Sergey Bolshakov
f435bbf787 gencpio moved into stage1 2004-12-17 23:38:21 +00:00
Sergey Bolshakov
1ec038fd23 updated pci probing scheme: stop compile in pci ids form now,
separate map file /modules/modules.map used instead and parsed
at runtime. see related changes in mar module also.
2004-12-15 20:43:02 +00:00
Sergey Bolshakov
840f1c7f94 no more compiled-in auto method 2004-12-12 22:19:47 +00:00
Sergey Bolshakov
37d3a24ce1 standalone build tweaks 2004-12-07 16:08:11 +00:00
Sergey Bolshakov
81762df042 respect WITH_SHELL 2004-12-06 19:55:19 +00:00
Anton Farygin
8e45f2d2e5 use cloop images for stage2
removed method live (use parameter live for detection stage2 filesystem image)
2004-11-30 11:47:57 +00:00
Anton Farygin
2c956f151a livecd mode and method added
rescue method must be rewrited !!!
2004-11-24 21:44:32 +00:00
Sergey Bolshakov
7f8d55ebef merged changes from propagator_1_1_dev 2004-11-22 13:47:29 +00:00
Anton Farygin
1a732d42de removed mkinitrd_helper - don't need now 2004-04-14 19:26:50 +00:00
Anton Farygin
db51f2b6fb added stage1-live target with define LIVE 2004-04-14 18:47:24 +00:00
Anton Farygin
7a4a1ac162 build only diet version of insmod;
make version.h with versions defines
2004-04-12 20:49:45 +00:00
Anton Farygin
3ead5892d4 another build fix (use distributor/scripts/get_packages for unpack packages) 2004-04-09 18:31:19 +00:00
Anton Farygin
561733261d build fix (use DISTRCONF at all) 2004-04-09 18:21:32 +00:00
Alexander V. Nikolaev
95dbd98e28 Use new build system 2004-03-19 17:02:37 +00:00
Alexander V. Nikolaev
56d17f74e8 Make compilable by gcc 3.3 2004-03-10 16:54:55 +00:00
Anton Kachalov
4812f74701 correct cleaning 2004-02-02 16:45:46 +00:00
Anton Kachalov
ac089ac25a removed pcmcia 2004-02-02 16:34:05 +00:00
Anton Kachalov
46438969c6 Initial revision 2004-01-20 18:32:43 +00:00