marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00622
[Branch ~marionnet-drivers/marionnet/trunk] Rev 417: Major change: added a complete machinery (about 2000 lines of Bash/Make code) to build and custom...
------------------------------------------------------------
revno: 417
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: marionnet
timestamp: Wed 2013-05-22 17:16:24 +0200
message:
Major change: added a complete machinery (about 2000 lines of Bash/Make code) to build and customize a filesystem, named "guignol", suitable for Marionnet and based on Buildroot (itself based on Busybox). The execution of `make guignol' takes about 45 minutes on a machine with 8 x 3Ghz cores; the size of the generated filesystems is 46Mb (12Mb compressed with `xz'). The generated filesystem may act not only as a machine but also as a Marionnet's router. Note that, quite happily, the boot time is about 4 seconds (on the above mentionned machine) and the machine seems working well with 16Mb of RAM. The installed services (not activated at the boot) are sshd, dhcpd, lighttpd, quagga, radvd. An instance of a generated filesystem `machine-guignol-42892' is available for testing at http://www.marionnet.org/downloads/testing/guignol/. Tested with kernels 3.2.44 (without ghostification). The next step should be to provide a similar machinery for building Debian systems adapted to Marionnet (based on debootstrap).
Example of usage:
$ cd uml/pupisto.buildroot/
Usage: make guignol
or: make guignol-custom
or: make minimal
or: make customize-packages-yes
or: make customize-packages-no
or: make dependencies
or: make clean
or: make help-pupisto
or: make help
Examples:
[1] make guignol
[2] make guignol-custom
[3] make customize-packages-no customize-packages-yes guignol
[4] make customize-packages-no customize-packages-yes guignol-custom
[5] make help-pupisto
---
The example [2] gives you access to the Buildroot's menu configuration.
The example [3] allows you to quickly customize the package selection removing comments from files `_build.custom_packages_{yes,no}'.
The example [4] provides you both customization methods.
The example [5] is simply equivalent to `pupisto.buildroot.sh --help'; you can launch directly this script if you want to create the Buildroot's filesystem with special options (name, config).
Tail of machine-guignol-42892.conf:
---
# Sorted list of available binaries.
BINARY_LIST='acpid addgroup add-shell adduser adjtimex agentxtrap ar arp arping ash awk babeld base64 basename bash beep bgpd blkid blockdev bootchartd brctl bridge bunzip2 busybox bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cal cat catv chat chattr chgrp chmod chown chpasswd chpst chroot chrt chvt cksum clear cmp comm conspy cp cpio crond crontab cryptpw ctstat cttyhack curl curlftpfs cut date dc dd deallocvt delgroup deluser depmod devmem df dhclient dhcpd dhcprelay diff dig dirname dmesg dnsd dnsdomainname dnssec-dsfromkey dnssec-keyfromlabel dnssec-keygen dnssec-signzone dos2unix du dumpkeys dumpkmap dumpleases echo ed egrep eject em encode_keychange env envdir envuidgid ether-wake ethghost ethtool expand expr fakeidentd false fbset fbsplash fdflush fdformat fdisk fgconsole fgrep filan file find findfs flex++ flock fold free freeramdisk fsck fsck.minix fsync ftpd ftpget ftpput fuser fusermount gdbus gdbus-codegen genl getconf getkeycodes getopt getty gio-querymodules glib-compile-schemas grep groups gsettings gunzip gzip halt hd hdparm head hexdump host hostid hostname httpd hush hwclock iconv id ifconfig ifconfig.busybox ifdown ifenslave ifplugd ifstat ifup inetd init insmod install ionice iostat ip ip6tables ip6tables-restore ip6tables-save ipaddr ipcalc ipcrm ipcs iplink iproute iprule iptables iptables-restore iptables-save iptables-xml iptunnel isisd kbd_mode kbd_mode kbdrate kill killall killall5 klogd last ldconfig ldd less lighttpd lighttpd-angel links linux32 linux64 ln lnstat loadfont loadkeys loadkmap loadunimap logger login logname logread losetup lpd lpq lpr ls lsattr lsmod lsof lspci lsusb lwresd lzcat lzma lzop lzopcat makedevs makemime man mapscrn md5sum mdev mesg microcom mkdir mkdosfs mke2fs mkfifo mkfs.ext2 mkfs.minix mkfs.vfat mknod mkpasswd mkswap mktemp modinfo modprobe more mount mountpoint mpstat mt mv named named-checkconf named-checkzone named-compilezone nameif nanddump nandwrite nano nbd-client nc ncat ncftp ncftpbatch ncftpget ncftpls ncftpput ncftpspooler ndiff net-snmp-config net-snmp-create-v3-user netstat nice nmap nmeter nohup nping nslookup nstat nsupdate ntpd ntpdate ntpdc ntpq od openvt ospf6d ospfclient ospfd passwd patch pcregrep pcretest pgrep pidof ping ping6 pipe_progress pivot_root pkill pmap popmaildir poweroff powertop printenv printf procan ps pscan psfaddtable psfgettable psfstriptable psfxtable pstree pwd pwdx radvd radvdump raidautorun rdate rdev readahead readlink readprofile realpath reboot reformime remove-shell renice reset resize resizecons rev ripd ripngd rm rmdir rmmod rndc rndc-confgen route routef routel rpcbind rpcgen rpcinfo rpm rpm2cpio rsync rtacct rtcwake rtmon rtpr rtstat runlevel run-parts runsv runsvdir rx scp script scriptreplay sed sendmail seq setarch setconsole setfont setfont setkeycodes setleds setlogcons setmetamode setserial setsid setuidgid sftp sh sha1sum sha256sum sha3sum sha512sum showconsolefont showkey sh.prebash slattach sleep slogin smemcap snmpbulkget snmpbulkwalk snmpd snmpdelta snmpdf snmpget snmpgetnext snmpinform snmpnetstat snmpset snmpstatus snmptable snmptest snmptranslate snmptrap snmptrapd snmpusm snmpvacm snmpwalk sntp socat softlimit sort split ss ssh ssh-add ssh-agent sshd sshfs ssh-keygen ssh-keyscan start-stop-daemon stat strace strace-log-merge strings stty su sudo sudoedit sudoreplay sulogin sum sv svlogd swapoff swapon switch_root sync sysctl syslogd tac tail tar tc tcpdump tcpsvd tee telnet telnetd test tftp tftpd time timeout top touch tr traceroute traceroute6 true tty ttysize tunctl ubiattach ubidetach ubimkvol ubirmvol ubirsvol ubiupdatevol udhcpc udhcpd udpsvd umount uname uncompress unexpand unicode_start unicode_stop uniq unix2dos unlzma unlzop unxz unzip uptime users usleep uudecode uuencode vconfig vi visudo vlock volname wall watch watchdog watchquagga wc wget which who whoami whois xargs xtables-multi xz xzcat yes zcat zcip zcmp zdiff zebra zegrep zfgrep zgrep zhead zless ztail'
# Minimum size in Mb of RAM to allocate to this virtual machine.
MEMORY_MIN_SIZE=16
# Default value proposed to the user in the machine's dialogs.
MEMORY_SUGGESTED_SIZE=24
added:
share/README.id_rsa_marionnet
share/id_rsa_marionnet
share/marionnet.conf
uml/pupisto.buildroot/
uml/pupisto.buildroot/Makefile
uml/pupisto.buildroot/pupisto.buildroot.sh
uml/pupisto.buildroot/pupisto.buildroot.sh.files/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/LOCATIONS
uml/pupisto.buildroot/pupisto.buildroot.sh.files/S90marionnet
uml/pupisto.buildroot/pupisto.buildroot.sh.files/bashrc
uml/pupisto.buildroot/pupisto.buildroot.sh.files/dhcpd/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/dhcpd/dhcp-server
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ethghost/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ethghost/Config.in
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ethghost/ethghost.mk
uml/pupisto.buildroot/pupisto.buildroot.sh.files/groups
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ifconfig
uml/pupisto.buildroot/pupisto.buildroot.sh.files/net-tools.patch
uml/pupisto.buildroot/pupisto.buildroot.sh.files/net-tools.patch.README
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/LOCATIONS
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/README.ports
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/bgpd.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/isisd.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/ospf6d.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/ospfd.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/quagga
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/ripd.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/ripngd.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/zebra.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/quagga/zebrasrv.conf
uml/pupisto.buildroot/pupisto.buildroot.sh.files/radvd/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/radvd/radvd.conf.example
uml/pupisto.buildroot/pupisto.buildroot.sh.files/radvd/radvd.conf.example.debian
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ssh/
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ssh/README
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ssh/id_rsa_marionnet@
uml/pupisto.buildroot/pupisto.buildroot.sh.files/ssh/id_rsa_marionnet.pub
uml/pupisto.buildroot/pupisto.buildroot.sh.files/zgrep_zdiff_zless
uml/pupisto.common/
uml/pupisto.common/toolkit_config_files.sh
uml/pupisto.common/toolkit_debugging.sh
renamed:
uml/pupisto.kernel/pupisto_kernel.sh => uml/pupisto.kernel/pupisto.kernel.sh
modified:
.bzrignore
Makefile
share/filesystems/machine-debian-lenny-sid-2008.conf
share/filesystems/machine-mandriva20100215.conf
share/filesystems/machine-pinocchio-14787.conf
share/filesystems/machine-template.conf
share/filesystems/router-pinocchio-09157.conf
simulation_level.ml
simulation_level.mli
uml/ethghost/Makefile
uml/pupisto.kernel/Makefile
uml/startup/marionnet_prepare_shutdown
uml/startup/marionnet_prepare_startup
useful-scripts/make_marionnet_bytecode_revno
useful-scripts/marionnet_from_scratch
uml/pupisto.kernel/pupisto.kernel.sh
--
lp:marionnet
https://code.launchpad.net/~marionnet-drivers/marionnet/trunk
Your team marionnet-dev is subscribed to branch lp:marionnet.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/marionnet/trunk/+edit-subscription